mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 04:26:45 +03:00 
			
		
		
		
	 df3b1a54f4
			
		
	
	df3b1a54f4
	
	
	
		
			
			* A more dynamic binlog format which allows small changes (1064) * Log session variables in Query_log_event (1063) It contains a few bugfixes (which I made when running the testsuite). I carefully updated the results of the testsuite (i.e. I checked for every one, if the difference between .reject and .result could be explained). Apparently mysql-test-run --manager is broken in 4.1 and 5.0 currently, so I could neither run the few tests which require --manager, nor check that they pass nor modify their .result. But for builds, we don't run with --manager. Apart from --manager, the full testsuite passes, with Valgrind too (no errors). I'm going to push in the next minutes. Remains: update the manual. Note: by chance I saw that (in 4.1, in 5.0) rpl_get_lock fails when run alone; this is normal at it makes assumptions on thread ids. I will fix this one day in 4.1.
		
			
				
	
	
		
			23 lines
		
	
	
		
			672 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			672 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Testing if "flush logs" command bouncing resulting in logs created in a loop 
 | |
| # in case of bi-directional replication
 | |
| 
 | |
| source include/master-slave.inc
 | |
| 
 | |
| connection slave;
 | |
| --replace_result $MASTER_MYPORT MASTER_PORT
 | |
| eval change master to master_host='127.0.0.1',master_user='root',
 | |
|  master_password='',master_port=$MASTER_MYPORT;
 | |
| start slave;
 | |
| connection master;
 | |
| stop slave;
 | |
| --replace_result $SLAVE_MYPORT SLAVE_PORT
 | |
| eval change master to master_host='127.0.0.1',master_user='root',
 | |
|  master_password='',master_port=$SLAVE_MYPORT;
 | |
| start slave;
 | |
| sleep 5;
 | |
| flush logs;
 | |
| sleep 5;
 | |
| --replace_result $SLAVE_MYPORT SLAVE_PORT
 | |
| --replace_column 1 # 8 # 9 # 23 # 33 #
 | |
| show slave status;
 |