mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-04 04:46:15 +01:00 
			
		
		
		
	The code in convert_charset_partition_constant() did not take into account that the call for item->safe_charset_converter() can return NULL when conversion is not safe. Note, 10.2 was not affected. The test for NULL presents in 10.2, but it disappeared in 10.3 in a mistake. Restoring the test.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			295 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			295 B
		
	
	
	
		
			Text
		
	
	
	
	
	
#
 | 
						|
# Start of 10.3 tests
 | 
						|
#
 | 
						|
#
 | 
						|
# MDEV-20855 Crash with PARTITION BY LIST and extended characters
 | 
						|
#
 | 
						|
SET NAMES utf8;
 | 
						|
CREATE OR REPLACE TABLE t1 (a TIME)
 | 
						|
PARTITION BY LIST COLUMNS (a) (PARTITION p0 VALUES IN (_ucs2 0x0411));
 | 
						|
ERROR HY000: This partition function is not allowed
 | 
						|
#
 | 
						|
# End of 10.3 tests
 | 
						|
#
 |