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
6b851279
Commit
6b851279
authored
Aug 26, 2008
by
He Zhenxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cherry picking post fixes for BUG#37051
parent
923f6103
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
mysql-test/r/multi_update.result
mysql-test/r/multi_update.result
+2
-2
sql/sql_class.cc
sql/sql_class.cc
+1
-0
No files found.
mysql-test/r/multi_update.result
View file @
6b851279
...
...
@@ -627,7 +627,7 @@ a b
4 4
show master status /* there must be the UPDATE query event */;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001
197
master-bin.000001
206
delete from t1;
delete from t2;
insert into t1 values (1,2),(3,4),(4,4);
...
...
@@ -637,7 +637,7 @@ UPDATE t2,t1 SET t2.a=t2.b where t2.a=t1.a;
ERROR 23000: Duplicate entry '4' for key 'PRIMARY'
show master status /* there must be the UPDATE query event */;
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001 2
12
master-bin.000001 2
21
drop table t1, t2;
set @@session.binlog_format= @sav_binlog_format;
drop table if exists t1, t2, t3;
...
...
sql/sql_class.cc
View file @
6b851279
...
...
@@ -514,6 +514,7 @@ THD::THD()
lock_id
(
&
main_lock_id
),
user_time
(
0
),
in_sub_stmt
(
0
),
binlog_table_maps
(
0
),
binlog_flags
(
0UL
),
table_map_for_update
(
0
),
arg_of_last_insert_id_function
(
FALSE
),
first_successful_insert_id_in_prev_stmt
(
0
),
first_successful_insert_id_in_prev_stmt_for_binlog
(
0
),
...
...
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