mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 02:46:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			35 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| include/master-slave.inc
 | |
| [connection master]
 | |
| include/assert.inc [On master, the table should return an empty set.]
 | |
| connection slave;
 | |
| 
 | |
| # Verify that SELECT works and produces an output similar to
 | |
| # the corresponding field in SHOW SLAVE STATUS(SSS) in all scenarios.
 | |
| 
 | |
| 
 | |
| # Verify that output is same as SSS on a fresh slave.
 | |
| 
 | |
| include/assert.inc [Value returned by SSS and PS table for Desired_Delay should be same.]
 | |
| 
 | |
| # Verify that the value of this field is correct after STOP SLAVE.
 | |
| 
 | |
| include/stop_slave.inc
 | |
| include/assert.inc [Value returned by SSS and PS table for Desired_Delay should be same.]
 | |
| 
 | |
| # Verify that, when desired delay is set, the value is shown correctly.
 | |
| 
 | |
| change master to master_delay= 2;
 | |
| include/start_slave.inc
 | |
| include/assert.inc [Value returned by SSS and PS table for Desired_Delay should be same.]
 | |
| 
 | |
| # Verify that the value is preserved after STOP SLAVE.
 | |
| 
 | |
| include/stop_slave.inc
 | |
| include/assert.inc [Value returned by SSS and PS table for Desired_Delay should be same.]
 | |
| 
 | |
| # Verify that, when desired delay is reset, the value is shown correctly.
 | |
| 
 | |
| change master to master_delay= 0;
 | |
| include/start_slave.inc
 | |
| include/assert.inc [Value returned by SSS and PS table for Desired_Delay should be same.]
 | |
| include/rpl_end.inc
 | 
