mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
2682a280c8
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
326 B
Text
10 lines
326 B
Text
--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;
|