summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb/t/innodb_bug40565.test
blob: a5d1434626ce65f75e39340ce0240af1dbe5fa28 (plain)
1
2
3
4
5
6
7
8
9
10
--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;