mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 02:30:06 +01:00
13 lines
521 B
Text
13 lines
521 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
CREATE TABLE t1 (a INT) ENGINE=MyISAM;
|
|
INSTALL PLUGIN rpl_semi_sync_master SONAME 'semisync_master';
|
|
SET GLOBAL rpl_semi_sync_master_enabled = ON;
|
|
SET DEBUG_SYNC = "rpl_semisync_master_commit_trx_before_lock SIGNAL m1_ready WAIT_FOR m1_cont";
|
|
INSERT INTO t1 SELECT * FROM t1;
|
|
SET DEBUG_SYNC= "now WAIT_FOR m1_ready";
|
|
SET GLOBAL rpl_semi_sync_master_enabled = OFF;
|
|
SET DEBUG_SYNC= "now SIGNAL m1_cont";
|
|
DROP TABLE t1;
|
|
UNINSTALL PLUGIN rpl_semi_sync_master;
|
|
include/rpl_end.inc
|