#At file:///home/ngb/mysql/bzr/bug41980-6.0-bugteam/
3106 Guangbao Ni 2009-03-05 [merge]
Automerged
modified:
sql/sql_table.cc
=== modified file 'sql/sql_table.cc'
--- a/sql/sql_table.cc 2009-02-27 15:52:30 +0000
+++ b/sql/sql_table.cc 2009-03-05 08:51:30 +0000
@@ -4365,7 +4365,8 @@ static bool mysql_admin_table(THD* thd,
push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
ER_VIEW_CHECKSUM, ER(ER_VIEW_CHECKSUM));
if (thd->stmt_da->is_error() &&
- thd->stmt_da->sql_errno() == ER_NO_SUCH_TABLE)
+ (thd->stmt_da->sql_errno() == ER_NO_SUCH_TABLE ||
+ thd->stmt_da->sql_errno() == ER_FILE_NOT_FOUND))
/* A missing table is just issued as a failed command */
result_code= HA_ADMIN_FAILED;
else
| Thread |
|---|
| • bzr commit into mysql-6.0-bugteam branch (gni:3106) | Guangbao Ni | 5 Mar 2009 |