mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
Bug #49137 Replication failure on SBR/MBR + multi-table DROP TEMPORARY TABLE
Fixed valgrind failure on PB2.
This commit is contained in:
parent
ccc3a46856
commit
cae9c79772
1 changed files with 2 additions and 2 deletions
|
@ -2110,8 +2110,8 @@ compare_errors:
|
||||||
has already been dropped. To ignore such irrelevant "table does
|
has already been dropped. To ignore such irrelevant "table does
|
||||||
not exist errors", we silently clear the error if TEMPORARY was used.
|
not exist errors", we silently clear the error if TEMPORARY was used.
|
||||||
*/
|
*/
|
||||||
if (thd->lex->drop_temporary &&
|
if (thd->net.last_errno == ER_BAD_TABLE_ERROR &&
|
||||||
thd->net.last_errno == ER_BAD_TABLE_ERROR && !expected_error)
|
!expected_error && thd->lex->drop_temporary)
|
||||||
thd->clear_error();
|
thd->clear_error();
|
||||||
/*
|
/*
|
||||||
If we expected a non-zero error code, and we don't get the same error
|
If we expected a non-zero error code, and we don't get the same error
|
||||||
|
|
Loading…
Add table
Reference in a new issue