mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 19:06:14 +01:00 
			
		
		
		
	 0d821fafe9
			
		
	
	
	0d821fafe9
	
	
	
		
			
			Replication SQL thread does not set database default charset to 
thd->variables.collation_database properly, when executing LOAD DATA binlog.
This bug can be repeated by using "LOAD DATA" command in STATEMENT mode.
        
This patch adds code to find the default character set of the current database 
then assign it to thd->db_charset when slave server begins to execute a relay log.
The test of this bug is added into rpl_loaddata_charset.test
		
	
			
		
			
				
	
	
		
			3 lines
		
	
	
	
		
			30 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
	
		
			30 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| 一二三
 | |
| 四五六
 | |
| 七八九
 |