~ubuntu-branches/ubuntu/lucid/mysql-dfsg-5.1/lucid-security

« back to all changes in this revision

Viewing changes to mysql-test/suite/innodb/t/innodb_bug40565.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 22:33:55 UTC
  • mto: (1.2.1) (37.1.1 lucid-security)
  • mto: This revision was merged to the branch mainline in revision 36.
  • Revision ID: package-import@ubuntu.com-20120222223355-ku1tb4r70osci6v2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

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