~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/func_isnull.result

  • Committer: Stewart Smith
  • Date: 2009-05-15 06:59:48 UTC
  • mfrom: (1008.3.2 work)
  • mto: This revision was merged to the branch mainline in revision 1022.
  • Revision ID: stewart@flamingspork.com-20090515065948-vkqjils3eaiwtzr8
merge some auto-inc fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
drop table if exists t1;
2
2
create table t1 (id int auto_increment primary key not null, mydate date not null);
3
 
insert into t1 values (0,"2002-05-01"),(0,"2002-05-01"),(0,"2002-05-01");
 
3
insert into t1 values (NULL,"2002-05-01"),(NULL,"2002-05-01"),(NULL,"2002-05-01");
4
4
flush tables;
5
5
select * from t1 where isnull(to_days(mydate));
6
6
id      mydate