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
		
	
	
		
			326 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			326 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| --source include/have_innodb.inc
 | |
| # Bug #40565 Update Query Results in "1 Row Affected" But Should Be "Zero Rows"
 | |
| 
 | |
| create table bug40565(value decimal(4,2)) engine=innodb;
 | |
| insert into bug40565 values (1), (null);
 | |
| --enable_info
 | |
| update bug40565 set value=NULL;
 | |
| update bug40565 set value=NULL;
 | |
| --disable_info
 | |
| drop table bug40565;
 |