1
include/master-slave.inc
4
a INT UNSIGNED NOT NULL PRIMARY KEY
9
INSERT INTO t1 VALUES (1);
10
INSERT INTO t2 VALUES (1);
11
INSERT INTO t1 SELECT t2.a FROM t2 ORDER BY t2.a ON DUPLICATE KEY UPDATE t1.a= t1.a;
12
include/assert.inc [Sum of elements in t1 should be 1.]
13
include/assert.inc [In SBR or MIXED modes, the event in the binlog should be the same that was executed. In RBR mode, binlog position should stay unchanged.]
14
include/diff_tables.inc [master:test.t1 , slave:test.t1]
17
a INT UNSIGNED NOT NULL PRIMARY KEY
22
INSERT INTO t1 VALUES (1);
23
INSERT INTO t2 VALUES (1);
24
INSERT INTO t1 SELECT t2.a FROM t2 ORDER BY t2.a ON DUPLICATE KEY UPDATE t1.a= t1.a;
25
include/assert.inc [Sum of elements in t1 should be 1.]
26
include/assert.inc [In SBR or MIXED modes, the event in the binlog should be the same that was executed. In RBR mode, binlog position should stay unchanged.]
27
include/diff_tables.inc [master:test.t1 , slave:test.t1]