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.
		
			
				
	
	
		
			17 lines
		
	
	
		
			339 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			339 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| --source include/have_innodb.inc
 | |
| #
 | |
| # Make sure http://bugs.mysql.com/40360 remains fixed.
 | |
| #
 | |
| 
 | |
| -- source include/not_embedded.inc
 | |
| 
 | |
| SET TX_ISOLATION='READ-COMMITTED';
 | |
| 
 | |
| # This is the default since MySQL 5.1.29 SET BINLOG_FORMAT='STATEMENT';
 | |
| 
 | |
| CREATE TABLE bug40360 (a INT) engine=innodb;
 | |
| 
 | |
| INSERT INTO bug40360 VALUES (1);
 | |
| 
 | |
| DROP TABLE bug40360;
 |