| 1 |
include/master-slave.inc |
| 2 |
[connection master] |
| 3 |
CREATE TABLE t1 (a INT) ENGINE=MyISAM; |
| 4 |
SET GLOBAL rpl_semi_sync_master_enabled = ON; |
| 5 |
connection master1; |
| 6 |
SET DEBUG_SYNC = "rpl_semisync_master_commit_trx_before_lock SIGNAL m1_ready WAIT_FOR m1_cont"; |
| 7 |
INSERT INTO t1 SELECT * FROM t1; |
| 8 |
connection master; |
| 9 |
SET DEBUG_SYNC= "now WAIT_FOR m1_ready"; |
| 10 |
SET GLOBAL rpl_semi_sync_master_enabled = OFF; |
| 11 |
SET DEBUG_SYNC= "now SIGNAL m1_cont"; |
| 12 |
connection master1; |
| 13 |
connection master; |
| 14 |
DROP TABLE t1; |
| 15 |
SET DEBUG_SYNC= "RESET"; |
| 16 |
include/rpl_end.inc |