mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-8220 Server crashes if started with --enforce-storage-engine option
This commit is contained in:
@ -3107,6 +3107,9 @@ void plugin_thdvar_init(THD *thd)
|
||||
if (global_system_variables.tmp_table_plugin)
|
||||
thd->variables.tmp_table_plugin=
|
||||
intern_plugin_lock(NULL, global_system_variables.tmp_table_plugin);
|
||||
if (global_system_variables.enforced_table_plugin)
|
||||
thd->variables.enforced_table_plugin=
|
||||
intern_plugin_lock(NULL, global_system_variables.enforced_table_plugin);
|
||||
intern_plugin_unlock(NULL, old_table_plugin);
|
||||
intern_plugin_unlock(NULL, old_tmp_table_plugin);
|
||||
intern_plugin_unlock(NULL, old_enforced_table_plugin);
|
||||
|
Reference in New Issue
Block a user