Commit 04f93ca0 authored by unknown's avatar unknown

A post-merge fix.

parent 38c4f0b7
...@@ -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