mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03: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.
This commit is contained in:
@@ -1137,9 +1137,10 @@ int plugin_init(int *argc, char **argv, int flags)
|
||||
{
|
||||
for (plugin= *builtins; plugin->info; plugin++)
|
||||
{
|
||||
/* by default, only ndbcluster is disabled */
|
||||
/* by default, ndbcluster and federated are disabled */
|
||||
def_enabled=
|
||||
my_strcasecmp(&my_charset_latin1, plugin->name, "NDBCLUSTER") != 0;
|
||||
my_strcasecmp(&my_charset_latin1, plugin->name, "NDBCLUSTER") != 0 &&
|
||||
my_strcasecmp(&my_charset_latin1, plugin->name, "FEDERATED") != 0;
|
||||
bzero(&tmp, sizeof(tmp));
|
||||
tmp.plugin= plugin;
|
||||
tmp.name.str= (char *)plugin->name;
|
||||
|
Reference in New Issue
Block a user