mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	storage/innobase/handler/handler0alter.cc: for NEWDATE key_type says unsigned, thus col->prtype says unsigned, but field->flags says signed. Use the same flag for value retrieval that was used for value storage.
		
			
				
	
	
		
			11 lines
		
	
	
		
			271 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			271 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| --source include/have_innodb.inc
 | |
| 
 | |
| let collation=utf32_bin;
 | |
| --source include/have_collation.inc
 | |
| 
 | |
| CREATE TABLE bug52199 (a INT NOT NULL,
 | |
| b CHAR(125) CHARACTER SET utf32 COLLATE utf32_bin NOT NULL
 | |
| )ENGINE=InnoDB;
 | |
| CREATE UNIQUE INDEX idx ON bug52199(a);
 | |
| DROP TABLE bug52199;
 |