mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 04:26:45 +03:00 
			
		
		
		
	 1f6ecc0cd3
			
		
	
	1f6ecc0cd3
	
	
	
		
			
			Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names. changed store_warning() -> push_warning_print()
		
			
				
	
	
		
			16 lines
		
	
	
		
			300 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			300 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| source include/master-slave.inc;
 | |
| 
 | |
| create table t1 (n int);
 | |
| insert into t1 values(1);
 | |
| sync_slave_with_master; 
 | |
| stop slave;
 | |
| start slave;
 | |
| connection master;
 | |
| insert into t1 values(2);
 | |
| #let slave catch up
 | |
| sync_slave_with_master;
 | |
| select * from t1;
 | |
| connection master;
 | |
| drop table t1;
 | |
| sync_slave_with_master;
 |