mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 23:54:31 +02:00
Bug#37069: Make federated disabled by default
The federated storage engine is now disabled by default. mysql-test-run.pl is updated to enable it whenever it's required and available. mysql-test/lib/mtr_cases.pl: Bug#37069: mysql-test-run.pl automatically enables federated for federated related tests sql/sql_plugin.cc: Bug#37069: federated is disabled by default
This commit is contained in:
parent
14aef9781a
commit
ea120c56f5
2 changed files with 12 additions and 2 deletions
|
|
@ -773,6 +773,13 @@ sub collect_one_test_case($$$$$$$$$) {
|
|||
if ( $::used_default_engine =~ /^innodb/i );
|
||||
}
|
||||
|
||||
#enable federated for this test
|
||||
if ($tinfo->{'federated_test'})
|
||||
{
|
||||
push(@{$tinfo->{'master_opt'}}, "--loose-federated");
|
||||
push(@{$tinfo->{'slave_opt'}}, "--loose-federated");
|
||||
}
|
||||
|
||||
if ( $tinfo->{'big_test'} and ! $::opt_big_test )
|
||||
{
|
||||
$tinfo->{'skip'}= 1;
|
||||
|
|
@ -891,6 +898,8 @@ our @tags=
|
|||
["include/have_ndb_extra.inc", "ndb_extra", 1],
|
||||
["include/ndb_master-slave.inc", "ndb_test", 1],
|
||||
["require_manager", "require_manager", 1],
|
||||
["include/federated.inc", "federated_test", 1],
|
||||
["include/have_federated_db.inc", "federated_test", 1],
|
||||
);
|
||||
|
||||
sub mtr_options_from_test_file($$) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue