Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
917024b2
Commit
917024b2
authored
Jan 06, 2010
by
Browse files
Options
Browse Files
Download
Plain Diff
Bug #49137 Replication failure on SBR/MBR + multi-table DROP TEMPORARY TABLE
Fixed valgrind failure on PB2.
parents
7e2078c9
fd931d7b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
sql/log_event.cc
sql/log_event.cc
+3
-2
No files found.
sql/log_event.cc
View file @
917024b2
...
...
@@ -3178,8 +3178,9 @@ compare_errors:
has already been dropped. To ignore such irrelevant "table does
not exist errors", we silently clear the error if TEMPORARY was used.
*/
if
(
thd
->
is_error
()
&&
thd
->
main_da
.
sql_errno
()
==
ER_BAD_TABLE_ERROR
&&
!
expected_error
&&
thd
->
lex
->
drop_temporary
)
if
(
thd
->
lex
->
sql_command
==
SQLCOM_DROP_TABLE
&&
thd
->
lex
->
drop_temporary
&&
thd
->
is_error
()
&&
thd
->
main_da
.
sql_errno
()
==
ER_BAD_TABLE_ERROR
&&
!
expected_error
)
thd
->
main_da
.
reset_diagnostics_area
();
/*
If we expected a non-zero error code, and we don't get the same error
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment