Commit b80665e4 authored by marko's avatar marko

branches/zip: innodb_plugin_init(): Do not copy session variables,

even when the variable is a global variable in the built-in InnoDB.
parent 1c3838f0
...@@ -9696,7 +9696,7 @@ innodb_plugin_init(void) ...@@ -9696,7 +9696,7 @@ innodb_plugin_init(void)
for (sta = builtin->system_vars; *sta != NULL; sta++) { for (sta = builtin->system_vars; *sta != NULL; sta++) {
/* do not copy session variables */ /* do not copy session variables */
if ((*sta)->flags & PLUGIN_VAR_THDLOCAL) { if (((*sta)->flags | (*dyn)->flags) & PLUGIN_VAR_THDLOCAL) {
continue; continue;
} }
......
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