Commit 88d29f5c authored by Sergei Golubchik's avatar Sergei Golubchik

update @@have_innodb variable when innodb plugin is uninstalled

parent 2c42bd22
...@@ -1179,6 +1179,10 @@ static void plugin_deinitialize(struct st_plugin_int *plugin, bool ref_check) ...@@ -1179,6 +1179,10 @@ static void plugin_deinitialize(struct st_plugin_int *plugin, bool ref_check)
} }
plugin->state= PLUGIN_IS_UNINITIALIZED; plugin->state= PLUGIN_IS_UNINITIALIZED;
/* maintain the obsolete @@have_innodb variable */
if (!my_strcasecmp(&my_charset_latin1, plugin->name.str, "InnoDB"))
have_innodb= SHOW_OPTION_DISABLED;
/* /*
We do the check here because NDB has a worker THD which doesn't We do the check here because NDB has a worker THD which doesn't
exit until NDB is shut down. exit until NDB is shut down.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment