Commit 2c9be1e6 authored by Monty's avatar Monty

Fixed wrong value of "wsrep" in SHOW STATUS

If WSREP was not initalized SHOW GLOBAL STATUS could have a random
value of "wsrep"
parent 76a92270
......@@ -948,6 +948,11 @@ int wsrep_show_status (THD *thd, SHOW_VAR *var, char *buff)
var->type= SHOW_ARRAY;
var->value= (char *) &mysql_status_vars;
}
else
{
var->type= SHOW_CHAR;
var->value= (char*) "0";
}
return 0;
}
......
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