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
59b4dfcc
Commit
59b4dfcc
authored
May 16, 2010
by
Andrei Elkin
Browse files
Options
Browse Files
Download
Plain Diff
pushing bug#50942 fixes to 5.1-bt
parents
3404d830
efcc90b6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/extra/binlog_tests/mix_innodb_myisam_side_effects.test
...st/extra/binlog_tests/mix_innodb_myisam_side_effects.test
+1
-1
mysql-test/suite/binlog/r/binlog_row_mix_innodb_myisam.result
...l-test/suite/binlog/r/binlog_row_mix_innodb_myisam.result
+2
-2
mysql-test/suite/binlog/r/binlog_stm_mix_innodb_myisam.result
...l-test/suite/binlog/r/binlog_stm_mix_innodb_myisam.result
+1
-1
No files found.
mysql-test/extra/binlog_tests/mix_innodb_myisam_side_effects.test
View file @
59b4dfcc
...
@@ -214,7 +214,7 @@ CREATE TABLE t5 (a int, PRIMARY KEY (a)) ENGINE=InnoDB;
...
@@ -214,7 +214,7 @@ CREATE TABLE t5 (a int, PRIMARY KEY (a)) ENGINE=InnoDB;
# execute
# execute
--
error
ER_DUP_ENTRY
--
error
ER_DUP_ENTRY
UPDATE
t3
,
t4
SET
t3
.
a
=
t4
.
a
+
bug27417
(
1
)
;
UPDATE
t3
,
t4
SET
t3
.
a
=
t4
.
a
+
bug27417
(
1
)
where
t3
.
a
=
1
;
# check
# check
select
count
(
*
)
from
t1
/* must be 1 */
;
select
count
(
*
)
from
t1
/* must be 1 */
;
...
...
mysql-test/suite/binlog/r/binlog_row_mix_innodb_myisam.result
View file @
59b4dfcc
...
@@ -879,11 +879,11 @@ delete from t4;
...
@@ -879,11 +879,11 @@ delete from t4;
insert into t3 values (1,1),(2,2);
insert into t3 values (1,1),(2,2);
insert into t4 values (1,1),(2,2);
insert into t4 values (1,1),(2,2);
reset master;
reset master;
UPDATE t3,t4 SET t3.a
=t4.a + bug27417(1)
;
UPDATE t3,t4 SET t3.a
= t4.a + bug27417(1) where t3.a = 1
;
ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
select count(*) from t1 /* must be 1 */;
select count(*) from t1 /* must be 1 */;
count(*)
count(*)
2
1
drop table t4;
drop table t4;
delete from t1;
delete from t1;
delete from t2;
delete from t2;
...
...
mysql-test/suite/binlog/r/binlog_stm_mix_innodb_myisam.result
View file @
59b4dfcc
...
@@ -802,7 +802,7 @@ delete from t4;
...
@@ -802,7 +802,7 @@ delete from t4;
insert into t3 values (1,1),(2,2);
insert into t3 values (1,1),(2,2);
insert into t4 values (1,1),(2,2);
insert into t4 values (1,1),(2,2);
reset master;
reset master;
UPDATE t3,t4 SET t3.a
=t4.a + bug27417(1)
;
UPDATE t3,t4 SET t3.a
= t4.a + bug27417(1) where t3.a = 1
;
ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
ERROR 23000: Duplicate entry '2' for key 'PRIMARY'
select count(*) from t1 /* must be 1 */;
select count(*) from t1 /* must be 1 */;
count(*)
count(*)
...
...
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