diff options
author | unknown <hf@deer.(none)> | 2004-01-28 12:38:17 +0400 |
---|---|---|
committer | unknown <hf@deer.(none)> | 2004-01-28 12:38:17 +0400 |
commit | d01e81012876416b3691a513a13af26d13d2f307 (patch) | |
tree | 4dc798b35919651727bfd9c9a935b06ac9d3461c /sql/sql_show.cc | |
parent | 2746e7de02698856d6b19bb526cd104c2cd74163 (diff) | |
download | mariadb-git-d01e81012876416b3691a513a13af26d13d2f307.tar.gz |
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
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r-- | sql/sql_show.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |