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.
		
			
				
	
	
		
			10 lines
		
	
	
		
			266 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			266 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| --source include/have_innodb.inc
 | |
| #
 | |
| # Bug #56716 InnoDB locks a record gap without locking the table
 | |
| #
 | |
| CREATE TABLE bug56716 (a INT PRIMARY KEY,b INT,c INT,INDEX(b)) ENGINE=InnoDB;
 | |
| 
 | |
| SELECT * FROM bug56716 WHERE b<=42 ORDER BY b DESC FOR UPDATE;
 | |
| 
 | |
| DROP TABLE bug56716;
 |