~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
create table t1 (a int not null, b int, primary key (a));
insert into t1 values (1,1);
--error ER_NO_DEFAULT_FOR_FIELD
create table if not exists t1 select 2;
select * from t1;
drop table t1;

create table t1 select 1,2,3;
--error ER_NO_DEFAULT_FOR_FIELD
create table if not exists t1 select 1,2;
--error ER_NO_DEFAULT_FOR_FIELD
create table if not exists t1 select 1;

select * from t1;

drop table t1;


create table t1 (a int not null primary key auto_increment, b int, c int, d int);
create table if not exists t1 select 1,2;
select * from t1;
drop table t1;