From 8dea612a36da412cfa48ca0e07dee5ca9cece42c Mon Sep 17 00:00:00 2001 From: "hf@deer.(none)" <> 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 | 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 {