~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/create_select_column_order.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:
1
1
create table t1 (a int not null, b int, primary key (a));
2
2
insert into t1 values (1,1);
3
 
--error 1364
 
3
--error ER_NO_DEFAULT_FOR_FIELD
4
4
create table if not exists t1 select 2;
5
5
select * from t1;
6
6
drop table t1;
7
7
 
8
8
create table t1 select 1,2,3;
9
 
--error 1364
 
9
--error ER_NO_DEFAULT_FOR_FIELD
10
10
create table if not exists t1 select 1,2;
11
 
--error 1364
 
11
--error ER_NO_DEFAULT_FOR_FIELD
12
12
create table if not exists t1 select 1;
13
13
 
14
14
select * from t1;