mirror of
https://github.com/MariaDB/server.git
synced 2026-04-26 10:15:29 +02:00
MDEV-13063 Server crashes in intern_plugin_lock or assertion `plugin_ptr->ref_count == 1' fails in plugin_init
if a forced plugin is disabled (for any reason, e.g. invalid command-line option) - it's an error
This commit is contained in:
parent
70b94c35d7
commit
918e47030b
2 changed files with 7 additions and 1 deletions
|
|
@ -1359,7 +1359,7 @@ static int plugin_initialize(MEM_ROOT *tmp_root, struct st_plugin_int *plugin,
|
|||
|
||||
if (options_only || state == PLUGIN_IS_DISABLED)
|
||||
{
|
||||
ret= 0;
|
||||
ret= !options_only && plugin_is_forced(plugin);
|
||||
goto err;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue