summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_plugin.cc')
-rw-r--r--sql/sql_plugin.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc
index 1874fb5e66d..343527ab030 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -3077,7 +3077,9 @@ void plugin_thdvar_init(THD *thd)
intern_plugin_unlock(NULL, old_table_plugin);
intern_plugin_unlock(NULL, old_tmp_table_plugin);
mysql_mutex_unlock(&LOCK_plugin);
- } else {
+ }
+ else
+ {
thd->variables.table_plugin= NULL;
thd->variables.tmp_table_plugin= NULL;
}