mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 04:26:45 +03:00 
			
		
		
		
	with error 1 and we are running with --force The specific "analyze" code is enclosed in a .test file fwich can easily be modified to be more advanced mysql-test/mysql-test-run.pl: Attempt to run some quick queries to analyze the failure when mysqltest returns 1 indicating test has failed Initially only code to analyze "could not sync with master" is added as that is a blackbox and all problems looks the same mysql-test/include/analyze_failure_sync_with_master.test: New BitKeeper file ``mysql-test/include/analyze_failure_sync_with_master.test''
		
			
				
	
	
		
			16 lines
		
	
	
		
			430 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			430 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Connect to both master and slave
 | |
| connect (master,127.0.0.1,root,,test,$MASTER_MYPORT,);
 | |
| connect (slave,127.0.0.1,root,,test,$SLAVE_MYPORT,);
 | |
| 
 | |
| vertical_results;
 | |
| 
 | |
| echo == MASTER ===========================================================;
 | |
| connection master;
 | |
| show master status;
 | |
| show slave status;
 | |
| 
 | |
| echo == SLAVE ===========================================================;
 | |
| connection slave;
 | |
| show master status;
 | |
| show slave status;
 |