From 4ef9335d2f6762de59ce6fe14baad7cf5df6a311 Mon Sep 17 00:00:00 2001
From: unknown <gluh@gluh.mysql.r18.ru>
Date: Tue, 18 Jan 2005 19:47:39 +0300
Subject: [PATCH] bug #7981: SHOW GLOBAL STATUS crashes server(fix after
 review)

---
 sql/sql_show.cc | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 843b042257..c7b4b61ca3 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -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);
-- 
2.30.9