mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	Use server character set if --default-character-set is not used Added convert_string() for more efficient alloc+character-set convert of strings
		
			
				
	
	
		
			21 lines
		
	
	
		
			505 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			505 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# This is a test for bug 578
 | 
						|
 | 
						|
connect (con1,localhost,root,,);
 | 
						|
connect (con2,localhost,root,,);
 | 
						|
 | 
						|
connection con1;
 | 
						|
--disable_warnings
 | 
						|
drop table if exists t1;
 | 
						|
--enable_warnings
 | 
						|
create table t1(a int) type=innodb;
 | 
						|
lock tables t1 write;
 | 
						|
insert into t1 values(10);
 | 
						|
disconnect con1;
 | 
						|
 | 
						|
connection con2;
 | 
						|
# The bug was that, because of the LOCK TABLES, the handler "forgot" to commit,
 | 
						|
# and the other commit when we write to the binlog was not done because of
 | 
						|
# binlog-ignore-db  
 | 
						|
select * from t1;
 | 
						|
drop table t1;
 |