mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
branches/zip: fix a problem introduced in r2917 - dyn is not
initialized. Move the check into for().
This commit is contained in:
parent
b80665e409
commit
191409aaa7
1 changed files with 6 additions and 5 deletions
|
@ -9695,13 +9695,14 @@ innodb_plugin_init(void)
|
|||
|
||||
for (sta = builtin->system_vars; *sta != NULL; sta++) {
|
||||
|
||||
/* do not copy session variables */
|
||||
if (((*sta)->flags | (*dyn)->flags) & PLUGIN_VAR_THDLOCAL) {
|
||||
continue;
|
||||
}
|
||||
|
||||
for (dyn = innobase_system_variables; *dyn != NULL; dyn++) {
|
||||
|
||||
/* do not copy session variables */
|
||||
if (((*sta)->flags | (*dyn)->flags)
|
||||
& PLUGIN_VAR_THDLOCAL) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (innobase_match_parameter((*sta)->name,
|
||||
(*dyn)->name)) {
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue