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
6625e678
Commit
6625e678
authored
Jul 02, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post-merge fix
parent
15aa29bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+4
-4
No files found.
mysql-test/r/innodb.result
View file @
6625e678
...
@@ -1100,24 +1100,24 @@ insert into t1 values (1,1),(2,2);
...
@@ -1100,24 +1100,24 @@ insert into t1 values (1,1),(2,2);
insert into t2 values (1,1),(4,4);
insert into t2 values (1,1),(4,4);
reset master;
reset master;
UPDATE t2,t1 SET t2.a=t1.a+2;
UPDATE t2,t1 SET t2.a=t1.a+2;
ERROR 23000: Duplicate entry '3' for key
1
ERROR 23000: Duplicate entry '3' for key
'PRIMARY'
select * from t2 /* must be (3,1), (4,4) */;
select * from t2 /* must be (3,1), (4,4) */;
a b
a b
1 1
1 1
4 4
4 4
show master status /* there must no UPDATE in binlog */;
show master status /* there must no UPDATE in binlog */;
File Position Binlog_Do_DB Binlog_Ignore_DB
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001
98
master-bin.000001
106
delete from t1;
delete from t1;
delete from t2;
delete from t2;
insert into t1 values (1,2),(3,4),(4,4);
insert into t1 values (1,2),(3,4),(4,4);
insert into t2 values (1,2),(3,4),(4,4);
insert into t2 values (1,2),(3,4),(4,4);
reset master;
reset master;
UPDATE t2,t1 SET t2.a=t2.b where t2.a=t1.a;
UPDATE t2,t1 SET t2.a=t2.b where t2.a=t1.a;
ERROR 23000: Duplicate entry '4' for key
1
ERROR 23000: Duplicate entry '4' for key
'PRIMARY'
show master status /* there must be no UPDATE query event */;
show master status /* there must be no UPDATE query event */;
File Position Binlog_Do_DB Binlog_Ignore_DB
File Position Binlog_Do_DB Binlog_Ignore_DB
master-bin.000001
98
master-bin.000001
106
drop table t1, t2;
drop table t1, t2;
create table t1 (a int, b int) engine=innodb;
create table t1 (a int, b int) engine=innodb;
insert into t1 values(20,null);
insert into t1 values(20,null);
...
...
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