mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-04 12:56:14 +01: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.
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			294 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			294 B
		
	
	
	
		
			Text
		
	
	
	
	
	
-- source include/have_log_bin.inc
 | 
						|
-- source include/have_innodb.inc
 | 
						|
 | 
						|
create table bug53674(a int)engine=innodb;
 | 
						|
insert into bug53674 values (1),(2);
 | 
						|
start transaction;
 | 
						|
select * from bug53674 for update;
 | 
						|
select * from bug53674 where a=(select a from bug53674 where a > 1);
 | 
						|
drop table bug53674;
 |