Commit 13f39804 authored by konstantin@mysql.com's avatar konstantin@mysql.com

A post-merge fix.

parent ba845055
...@@ -8071,8 +8071,9 @@ void refresh_status(THD *thd) ...@@ -8071,8 +8071,9 @@ void refresh_status(THD *thd)
add_to_status(&global_status_var, &thd->status_var); add_to_status(&global_status_var, &thd->status_var);
bzero((char*) &thd->status_var, sizeof(thd->status_var)); bzero((char*) &thd->status_var, sizeof(thd->status_var));
for (struct show_var_st *ptr=status_vars; ptr->name; ptr++) for (SHOW_VAR *ptr= status_vars; ptr->name; ptr++)
{ {
/* Note that SHOW_LONG_NOFLUSH variables are not reset */
if (ptr->type == SHOW_LONG) if (ptr->type == SHOW_LONG)
*(ulong*) ptr->value= 0; *(ulong*) ptr->value= 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