From d01e81012876416b3691a513a13af26d13d2f307 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 28 Jan 2004 12:38:17 +0400 Subject: [PATCH] Fix for #2210 (SHOW TABLE STATUS fails when .frm is corrupted) We signed error instead of returning the result sql/sql_show.cc: we need this assignement in libmysqld to not to issue error --- sql/sql_show.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 4ae59093a0e..0100390afa0 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -520,6 +520,7 @@ int mysqld_extend_show_tables(THD *thd,const char *db,const char *wild) // Send error to Comment field protocol->store(thd->net.last_error, system_charset_info); thd->net.last_error[0]=0; + thd->net.last_errno= 0; } else {