mirror of
https://github.com/MariaDB/server.git
synced 2025-02-23 05:43:08 +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.
10 lines
325 B
Text
10 lines
325 B
Text
--source include/have_innodb.inc
|
|
|
|
set session transaction isolation level read committed;
|
|
|
|
create table bug45357(a int, b int,key(b))engine=innodb;
|
|
insert into bug45357 values (25170,6122);
|
|
update bug45357 set a=1 where b=30131;
|
|
delete from bug45357 where b < 20996;
|
|
delete from bug45357 where b < 7001;
|
|
drop table bug45357;
|