mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Fixed a build failure in mysql-trunk-merge caused by a bad
merge from mysql-5.1-bugteam.
This commit is contained in:
@@ -2811,9 +2811,9 @@ sp_lex_keeper::reset_lex_and_exec_core(THD *thd, uint *nextp,
|
||||
open_tables stage.
|
||||
*/
|
||||
if (!res || !thd->is_error() ||
|
||||
(thd->main_da.sql_errno() != ER_CANT_REOPEN_TABLE &&
|
||||
thd->main_da.sql_errno() != ER_NO_SUCH_TABLE &&
|
||||
thd->main_da.sql_errno() != ER_UPDATE_TABLE_USED))
|
||||
(thd->stmt_da->sql_errno() != ER_CANT_REOPEN_TABLE &&
|
||||
thd->stmt_da->sql_errno() != ER_NO_SUCH_TABLE &&
|
||||
thd->stmt_da->sql_errno() != ER_UPDATE_TABLE_USED))
|
||||
thd->stmt_arena->state= Query_arena::EXECUTED;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user