create table t1 (t int not null default 1, key (t)) engine=innodb;
885
885
desc t1;
886
Field Type Null Key Default Extra
887
t int NO MUL 1
886
Field Type Null Default Default is NULL On Update
887
t INTEGER FALSE 1 FALSE
888
888
drop table t1;
889
889
create table t1 (id int not null auto_increment, code int not null, name char(20) not null, primary key (id), key (code), unique (name)) engine=innodb;