991.1.4
by Stewart Smith
Add test for CREATE TABLE SELECT column order for insert if table already exists |
1 |
create table t1 (a int not null, b int, primary key (a)); |
2 |
insert into t1 values (1,1); |
|
1731.3.1
by Lee Bieber
change tests to use enum values instead of error numbers |
3 |
--error ER_NO_DEFAULT_FOR_FIELD
|
991.1.4
by Stewart Smith
Add test for CREATE TABLE SELECT column order for insert if table already exists |
4 |
create table if not exists t1 select 2; |
5 |
select * from t1; |
|
6 |
drop table t1; |
|
7 |
||
8 |
create table t1 select 1,2,3; |
|
1731.3.1
by Lee Bieber
change tests to use enum values instead of error numbers |
9 |
--error ER_NO_DEFAULT_FOR_FIELD
|
991.1.4
by Stewart Smith
Add test for CREATE TABLE SELECT column order for insert if table already exists |
10 |
create table if not exists t1 select 1,2; |
1731.3.1
by Lee Bieber
change tests to use enum values instead of error numbers |
11 |
--error ER_NO_DEFAULT_FOR_FIELD
|
991.1.4
by Stewart Smith
Add test for CREATE TABLE SELECT column order for insert if table already exists |
12 |
create table if not exists t1 select 1; |
13 |
||
14 |
select * from t1; |
|
15 |
||
16 |
drop table t1; |
|
17 |
||
18 |
||
19 |
create table t1 (a int not null primary key auto_increment, b int, c int, d int); |
|
20 |
create table if not exists t1 select 1,2; |
|
21 |
select * from t1; |
|
22 |
drop table t1; |