mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge branch '10.1' into 10.2
This commit is contained in:
@ -610,8 +610,39 @@ a b
|
||||
57 7
|
||||
58 8
|
||||
59 9
|
||||
connection server_1;
|
||||
DELETE FROM t1;
|
||||
DELETE FROM t2;
|
||||
include/save_master_gtid.inc
|
||||
connection server_2;
|
||||
include/sync_with_master_gtid.inc
|
||||
connection server_2;
|
||||
set global log_warnings=2;
|
||||
BEGIN;
|
||||
INSERT INTO t1 SET a=1;
|
||||
connection server_1;
|
||||
SET @save.binlog_format=@@session.binlog_format;
|
||||
SET @@SESSION.binlog_format=row;
|
||||
BEGIN;
|
||||
INSERT INTO t1 SET a=1;
|
||||
INSERT INTO t2 SET a=1;
|
||||
COMMIT;
|
||||
BEGIN;
|
||||
DELETE FROM t2;
|
||||
COMMIT;
|
||||
connection server_2;
|
||||
connection server_2;
|
||||
ROLLBACK;
|
||||
connection server_1;
|
||||
SET @@SESSION.binlog_format= @save.binlog_format;
|
||||
DELETE FROM t1;
|
||||
DELETE FROM t2;
|
||||
include/save_master_gtid.inc
|
||||
connection server_2;
|
||||
include/sync_with_master_gtid.inc
|
||||
connection server_2;
|
||||
include/stop_slave.inc
|
||||
set global log_warnings=default;
|
||||
SET GLOBAL slave_parallel_mode=@old_parallel_mode;
|
||||
SET GLOBAL slave_parallel_threads=@old_parallel_threads;
|
||||
include/start_slave.inc
|
||||
|
Reference in New Issue
Block a user