diff options
author | hf@deer.(none) <> | 2004-01-28 12:38:17 +0400 |
---|---|---|
committer | hf@deer.(none) <> | 2004-01-28 12:38:17 +0400 |
commit | 8dea612a36da412cfa48ca0e07dee5ca9cece42c (patch) | |
tree | 4dc798b35919651727bfd9c9a935b06ac9d3461c /sql/sql_show.cc | |
parent | 7f26ab154cb319530a1afd27815c19e1d7ee44b0 (diff) | |
download | mariadb-git-8dea612a36da412cfa48ca0e07dee5ca9cece42c.tar.gz |
Fix for #2210 (SHOW TABLE STATUS fails when .frm is corrupted)
We signed error instead of returning the result
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 { |