~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/update.test

  • Committer: Monty Taylor
  • Date: 2009-02-11 04:52:41 UTC
  • mfrom: (877 drizzle)
  • mto: This revision was merged to the branch mainline in revision 879.
  • Revision ID: mordred@inaugust.com-20090211045241-l3xho3ifn3dq8xu0
MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
235
235
#
236
236
# Bug#14186 select datefield is null not updated
237
237
#
238
 
create table t1 (f1 date not null);
239
 
insert into t1 values('2000-01-01'),('0000-00-00');
 
238
create table t1 (f1 date NULL);
 
239
insert into t1 values('2000-01-01'),(NULL);
240
240
update t1 set f1='2002-02-02' where f1 is null;
241
241
select * from t1;
242
242
drop table t1;