~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/null_key.test

  • Committer: Lee Bieber
  • Date: 2010-08-26 21:56:15 UTC
  • mto: (1733.1.1 build) (1734.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1734.
  • Revision ID: lbieber@kalebral-2.local-20100826215615-98moemwu1u9u9x4y
change tests to use enum values instead of error numbers

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
select * from t1 where a is null and b=9 or a is null and b=7 limit 3;
29
29
select * from t1 where a > 1 and a < 3 limit 1;
30
30
select * from t1 where a > 8 and a < 9;
31
 
--error 1005
 
31
--error ER_CANT_CREATE_TABLE
32
32
create table t2 like t1;
33
33
create temporary table t2 like t1;
34
34
show create table t2;
230
230
  index (id),
231
231
  index (id2)
232
232
);
233
 
--error 1048
 
233
--error ER_BAD_NULL_ERROR
234
234
insert into t1 values(null,null),(1,1);
235
235
select * from t1;
236
236
select * from t1 where id <=> null;