Commit 06714302 authored by Kristian Nielsen's avatar Kristian Nielsen

After-merge fix.

parent ef82cb7c
...@@ -1745,21 +1745,21 @@ SET GLOBAL debug_dbug=@old_dbug; ...@@ -1745,21 +1745,21 @@ SET GLOBAL debug_dbug=@old_dbug;
include/start_slave.inc include/start_slave.inc
*** MDEV-8725: Assertion on ROLLBACK statement in the binary log *** *** MDEV-8725: Assertion on ROLLBACK statement in the binary log ***
BEGIN; BEGIN;
INSERT INTO t2 VALUES (200); INSERT INTO t2 VALUES (2000);
INSERT INTO t1 VALUES (200); INSERT INTO t1 VALUES (2000);
INSERT INTO t2 VALUES (201); INSERT INTO t2 VALUES (2001);
ROLLBACK; ROLLBACK;
SELECT * FROM t1 WHERE a>=200 ORDER BY a; SELECT * FROM t1 WHERE a>=2000 ORDER BY a;
a a
200 2000
SELECT * FROM t2 WHERE a>=200 ORDER BY a; SELECT * FROM t2 WHERE a>=2000 ORDER BY a;
a a
include/save_master_gtid.inc include/save_master_gtid.inc
include/sync_with_master_gtid.inc include/sync_with_master_gtid.inc
SELECT * FROM t1 WHERE a>=200 ORDER BY a; SELECT * FROM t1 WHERE a>=2000 ORDER BY a;
a a
200 2000
SELECT * FROM t2 WHERE a>=200 ORDER BY a; SELECT * FROM t2 WHERE a>=2000 ORDER BY a;
a a
include/stop_slave.inc include/stop_slave.inc
SET GLOBAL slave_parallel_threads=@old_parallel_threads; SET GLOBAL slave_parallel_threads=@old_parallel_threads;
......
...@@ -2436,19 +2436,19 @@ SET GLOBAL debug_dbug=@old_dbug; ...@@ -2436,19 +2436,19 @@ SET GLOBAL debug_dbug=@old_dbug;
# mark_start_commit() being already called. # mark_start_commit() being already called.
--disable_warnings --disable_warnings
BEGIN; BEGIN;
INSERT INTO t2 VALUES (200); INSERT INTO t2 VALUES (2000);
INSERT INTO t1 VALUES (200); INSERT INTO t1 VALUES (2000);
INSERT INTO t2 VALUES (201); INSERT INTO t2 VALUES (2001);
ROLLBACK; ROLLBACK;
--enable_warnings --enable_warnings
SELECT * FROM t1 WHERE a>=200 ORDER BY a; SELECT * FROM t1 WHERE a>=2000 ORDER BY a;
SELECT * FROM t2 WHERE a>=200 ORDER BY a; SELECT * FROM t2 WHERE a>=2000 ORDER BY a;
--source include/save_master_gtid.inc --source include/save_master_gtid.inc
--connection server_2 --connection server_2
--source include/sync_with_master_gtid.inc --source include/sync_with_master_gtid.inc
SELECT * FROM t1 WHERE a>=200 ORDER BY a; SELECT * FROM t1 WHERE a>=2000 ORDER BY a;
SELECT * FROM t2 WHERE a>=200 ORDER BY a; SELECT * FROM t2 WHERE a>=2000 ORDER BY a;
# Clean up. # Clean up.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment