mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 10:56:12 +01:00 
			
		
		
		
	 2682a280c8
			
		
	
	
	2682a280c8
	
	
	
		
			
			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.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			542 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			542 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| --source include/have_innodb.inc
 | |
| # Bug44032 no update-in-place of UTF-8 columns in ROW_FORMAT=REDUNDANT
 | |
| # (btr_cur_update_in_place not invoked when updating from/to NULL;
 | |
| # the update is performed by delete and insert instead)
 | |
| 
 | |
| 
 | |
| CREATE TABLE bug44032(c CHAR(3) CHARACTER SET UTF8) ROW_FORMAT=REDUNDANT
 | |
| ENGINE=InnoDB;
 | |
| INSERT INTO bug44032 VALUES('abc'),(0xEFBCA4EFBCA4EFBCA4);
 | |
| UPDATE bug44032 SET c='DDD' WHERE c=0xEFBCA4EFBCA4EFBCA4;
 | |
| UPDATE bug44032 SET c=NULL WHERE c='DDD';
 | |
| UPDATE bug44032 SET c='DDD' WHERE c IS NULL;
 | |
| DROP TABLE bug44032;
 |