diff options
author | Michael Widenius <monty@askmonty.org> | 2012-08-28 19:39:49 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2012-08-28 19:39:49 +0300 |
commit | 7dad53633762174405c5e84137801e10f930e71a (patch) | |
tree | c23daab5eae30dbad4aa05ca101430b547b3c42d /sql/sp.cc | |
parent | b6eccf51c05105fb56275b1fa2055c4a14fe7459 (diff) | |
download | mariadb-git-7dad53633762174405c5e84137801e10f930e71a.tar.gz |
Split ER_NO_SUCH_TABLE into ER_NO_SUCH_TABLE and ER_NO_SUCH_TABLE_IN_ENGINE to be able to distingus if a .frm file is missing or if the table is missing in the engine.
sql/handler.cc:
Added ER_NO_SUCH_TABLE_IN_ENGINE
sql/rpl_record.cc:
Fixed wrong printf
sql/share/errmsg-utf8.txt:
Added ER_NO_SUCH_TABLE_IN_ENGINE
sql/sp.cc:
Added ER_NO_SUCH_TABLE_IN_ENGINE
sql/sp_head.cc:
Added ER_NO_SUCH_TABLE_IN_ENGINE
sql/sql_admin.cc:
Added ER_NO_SUCH_TABLE_IN_ENGINE
sql/sql_base.cc:
Added ER_NO_SUCH_TABLE_IN_ENGINE
sql/sql_show.cc:
Added ER_NO_SUCH_TABLE_IN_ENGINE
sql/table.cc:
Fixed typo
Diffstat (limited to 'sql/sp.cc')
-rw-r--r-- | sql/sp.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sp.cc b/sql/sp.cc index 29195234a5a..93cd64b4104 100644 --- a/sql/sp.cc +++ b/sql/sp.cc @@ -1429,6 +1429,7 @@ public: MYSQL_ERROR ** cond_hdl) { if (sql_errno == ER_NO_SUCH_TABLE || + sql_errno == ER_NO_SUCH_TABLE_IN_ENGINE || sql_errno == ER_CANNOT_LOAD_FROM_TABLE || sql_errno == ER_COL_COUNT_DOESNT_MATCH_PLEASE_UPDATE || sql_errno == ER_COL_COUNT_DOESNT_MATCH_CORRUPTED) |