mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-02 02:53:04 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			416 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			416 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
#################################
 | 
						|
# Test updated to use a wrapper #
 | 
						|
#################################
 | 
						|
 | 
						|
-- source include/master-slave.inc
 | 
						|
 | 
						|
eval CREATE TABLE t1 (a INT) ENGINE=$engine_type;
 | 
						|
 | 
						|
begin;
 | 
						|
insert into t1 values(1);
 | 
						|
flush tables with read lock;
 | 
						|
commit;
 | 
						|
save_master_pos;
 | 
						|
connection slave;
 | 
						|
sync_with_master;
 | 
						|
# cleanup
 | 
						|
connection master;
 | 
						|
unlock tables;
 | 
						|
drop table t1;
 | 
						|
sync_slave_with_master;
 | 
						|
 | 
						|
# End of 4.1 tests
 |