Support skip-plugin-load
- --disable-plugin-load or --skip-plugin-load will now reset plugin load list. Needed for future changes to mtr tests
This commit is contained in:
parent
d6d5c168cf
commit
b83aff56f1
@ -9316,6 +9316,8 @@ mysqld_get_one_option(int optid, const struct my_option *opt, char *argument)
|
|||||||
break;
|
break;
|
||||||
case OPT_PLUGIN_LOAD:
|
case OPT_PLUGIN_LOAD:
|
||||||
free_list(opt_plugin_load_list_ptr);
|
free_list(opt_plugin_load_list_ptr);
|
||||||
|
if (argument == disabled_my_option)
|
||||||
|
break; // Resets plugin list
|
||||||
/* fall through */
|
/* fall through */
|
||||||
case OPT_PLUGIN_LOAD_ADD:
|
case OPT_PLUGIN_LOAD_ADD:
|
||||||
opt_plugin_load_list_ptr->push_back(new i_string(argument));
|
opt_plugin_load_list_ptr->push_back(new i_string(argument));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user