1# Bug #40565 Update Query Results in "1 Row Affected" But Should Be "Zero Rows"
2-- source include/have_innodb.inc
3
4create table bug40565(value decimal(4,2)) engine=innodb;
5insert into bug40565 values (1), (null);
6--enable_info
7update bug40565 set value=NULL;
8update bug40565 set value=NULL;
9--disable_info
10drop table bug40565;
11