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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
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
Hide 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 @@ START SLAVE; . Query: '%s'", expected_error, thd->query());
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