mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	Just adding testcase. This bug was fixed by patch for BUG#31583. mysql-test/suite/bugs/t/rpl_bug31583.test: Dropping tables to clean up after the test. mysql-test/suite/bugs/r/rpl_bug31582.result: New BitKeeper file ``mysql-test/suite/bugs/r/rpl_bug31582.result'' mysql-test/suite/bugs/t/rpl_bug31582.test: New BitKeeper file ``mysql-test/suite/bugs/t/rpl_bug31582.test''
		
			
				
	
	
		
			26 lines
		
	
	
		
			696 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			696 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
#
 | 
						|
# BUG#31583: 5.1-telco-6.1 -> 5.1.22. Slave returns Error in unknown event
 | 
						|
 | 
						|
# This is a problem for any update statement replicating from an old
 | 
						|
# server to a new server. The bug consisted of a new slave trying to
 | 
						|
# read two column bitmaps, but there is only one available in the old
 | 
						|
# format.
 | 
						|
 | 
						|
# This test case should be executed replicating from an old server to
 | 
						|
# a new server, so make sure you have one handy.
 | 
						|
 | 
						|
source include/master-slave.inc;
 | 
						|
 | 
						|
CREATE TABLE t1 ( a INT, b INT DEFAULT -3 );
 | 
						|
 | 
						|
INSERT INTO t1 VALUES (1, DEFAULT);
 | 
						|
UPDATE t1 SET a = 3;
 | 
						|
SELECT * FROM t1 ORDER BY a;
 | 
						|
sync_slave_with_master;
 | 
						|
SELECT * FROM t1 ORDER BY a;
 | 
						|
 | 
						|
connection master;
 | 
						|
DROP TABLE t1;
 | 
						|
sync_slave_with_master;
 | 
						|
 |