mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names. changed store_warning() -> push_warning_print()
		
			
				
	
	
		
			15 lines
		
	
	
		
			308 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			308 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
source include/master-slave.inc;
 | 
						|
 | 
						|
create table t1 (n int not null primary key);
 | 
						|
save_master_pos;
 | 
						|
connection slave;
 | 
						|
sync_with_master;
 | 
						|
insert into t1 values (1);
 | 
						|
connection master;
 | 
						|
insert into t1 values (1);
 | 
						|
insert into t1 values (2),(3);
 | 
						|
save_master_pos;
 | 
						|
connection slave;
 | 
						|
sync_with_master;
 | 
						|
select * from t1;
 |