mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
Merge xiphis.org:/anubis/antony/work/bug33358.2
into xiphis.org:/anubis/antony/work/bug33358.2-merge-5.1
This commit is contained in:
commit
e70f8dc417
2 changed files with 3 additions and 4 deletions
|
@ -1,3 +1,3 @@
|
|||
$EXAMPLE_PLUGIN_OPT
|
||||
"--plugin-load=;EXAMPLE=ha_example.so;"
|
||||
--plugin-example-enum-var=e2
|
||||
--loose-plugin-example-enum-var=e2
|
||||
|
|
|
@ -1181,9 +1181,8 @@ int plugin_init(int *argc, char **argv, int flags)
|
|||
/* Register all dynamic plugins */
|
||||
if (!(flags & PLUGIN_INIT_SKIP_DYNAMIC_LOADING))
|
||||
{
|
||||
if (opt_plugin_load &&
|
||||
plugin_load_list(&tmp_root, argc, argv, opt_plugin_load))
|
||||
goto err;
|
||||
if (opt_plugin_load)
|
||||
plugin_load_list(&tmp_root, argc, argv, opt_plugin_load);
|
||||
if (!(flags & PLUGIN_INIT_SKIP_PLUGIN_TABLE))
|
||||
plugin_load(&tmp_root, argc, argv);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue