Commit 4ef9335d authored by unknown's avatar unknown
Browse files

bug #7981: SHOW GLOBAL STATUS crashes server(fix after review)

parent 0e2a6843
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2858,7 +2858,6 @@ int fill_variables(THD *thd, TABLE_LIST *tables, COND *cond)
  int res= 0;
  LEX *lex= thd->lex;
  const char *wild= lex->wild ? lex->wild->ptr() : NullS;
  ha_update_statistics();                    /* Export engines statistics */
  pthread_mutex_lock(&LOCK_global_system_variables);
  res= show_status_array(thd, wild, init_vars, 
                         lex->option_type, 0, "", tables->table);