~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/func_isnull.result

  • Committer: Brian Aker
  • Date: 2009-02-21 00:18:15 UTC
  • Revision ID: brian@tangent.org-20090221001815-x20e8h71e984lvs1
Completion (?) of uint conversion.

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 (NULL,"2002-05-01"),(NULL,"2002-05-01"),(NULL,"2002-05-01");
 
3
insert into t1 values (0,"2002-05-01"),(0,"2002-05-01"),(0,"2002-05-01");
4
4
flush tables;
5
5
select * from t1 where isnull(to_days(mydate));
6
6
id      mydate