mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 19:06:14 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			523 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			523 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| include/master-slave.inc
 | |
| [connection master]
 | |
| CREATE TABLE t1 (a INT) ENGINE=MyISAM;
 | |
| SET GLOBAL rpl_semi_sync_master_enabled = ON;
 | |
| connection master1;
 | |
| SET DEBUG_SYNC = "rpl_semisync_master_commit_trx_before_lock SIGNAL m1_ready WAIT_FOR m1_cont";
 | |
| INSERT INTO t1 SELECT * FROM t1;
 | |
| connection master;
 | |
| SET DEBUG_SYNC= "now WAIT_FOR m1_ready";
 | |
| SET GLOBAL rpl_semi_sync_master_enabled = OFF;
 | |
| SET DEBUG_SYNC= "now SIGNAL m1_cont";
 | |
| connection master1;
 | |
| connection master;
 | |
| DROP TABLE t1;
 | |
| SET DEBUG_SYNC= "RESET";
 | |
| include/rpl_end.inc
 | 
