mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-6351 - --plugin=force has no effect for built-in plugins
mysqld didn't fail to start if a compiled-in plugin failed to initialize (--xxx=FORCE behaving as --xxx=ON)
This commit is contained in:
@@ -1612,7 +1612,7 @@ int plugin_init(int *argc, char **argv, int flags)
|
||||
if (plugin_initialize(&tmp_root, plugin_ptr, argc, argv, !is_myisam &&
|
||||
(flags & PLUGIN_INIT_SKIP_INITIALIZATION)))
|
||||
{
|
||||
if (mandatory)
|
||||
if (plugin_ptr->load_option == PLUGIN_FORCE)
|
||||
goto err_unlock;
|
||||
plugin_ptr->state= PLUGIN_IS_DISABLED;
|
||||
}
|
||||
|
Reference in New Issue
Block a user