~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/alter_table.result

Remove PLUGIN and MODULES.

Show diffs side-by-side

added added

removed removed

Lines of Context:
350
350
create TEMPORARY table t1 (a int, b int, c int, d int, e int, f int, g int, h int,i int, primary key (a,b,c,d,e,f,g,i,h)) engine=MyISAM;
351
351
insert into t1 (a,b,c,d,e,f,g,h,i) values(1,1,1,1,1,1,1,1,1);
352
352
show table status like 't1';
353
 
Name    Engine  Version Row_format      Rows    Avg_row_length  Data_length     Max_data_length Index_length    Data_free       Auto_increment  Create_time     Update_time     Check_time      Collation       Checksum        Create_options  Comment
 
353
Name    Engine  Version Row_format      Rows    Avg_row_length  Data_length     Max_data_length Index_length    Data_free       Auto_increment  Create_time     Update_time     Check_time      Collation       Checksum        Create_options  Comment Plugin_name
354
354
alter table t1 modify a int;
355
355
show table status like 't1';
356
 
Name    Engine  Version Row_format      Rows    Avg_row_length  Data_length     Max_data_length Index_length    Data_free       Auto_increment  Create_time     Update_time     Check_time      Collation       Checksum        Create_options  Comment
 
356
Name    Engine  Version Row_format      Rows    Avg_row_length  Data_length     Max_data_length Index_length    Data_free       Auto_increment  Create_time     Update_time     Check_time      Collation       Checksum        Create_options  Comment Plugin_name
357
357
drop table t1;
358
358
create TEMPORARY table t1 (a int not null default 0, b int not null default 0, c int not null default 0, d int not null default 0, e int not null default 0, f int not null default 0, g int not null default 0, h int not null default 0,i int not null default 0, primary key (a,b,c,d,e,f,g,i,h)) engine=MyISAM;
359
359
insert into t1 (a) values(1);
360
360
show table status like 't1';
361
 
Name    Engine  Version Row_format      Rows    Avg_row_length  Data_length     Max_data_length Index_length    Data_free       Auto_increment  Create_time     Update_time     Check_time      Collation       Checksum        Create_options  Comment
 
361
Name    Engine  Version Row_format      Rows    Avg_row_length  Data_length     Max_data_length Index_length    Data_free       Auto_increment  Create_time     Update_time     Check_time      Collation       Checksum        Create_options  Comment Plugin_name
362
362
drop table t1;
363
363
CREATE TABLE t1 (a int PRIMARY KEY, b INT UNIQUE);
364
364
ALTER TABLE t1 DROP PRIMARY KEY;
677
677
Field   Type    Null    Key     Default Extra
678
678
mycol   int     NO              0       
679
679
drop table t1;
680
 
create TEMPORARY table t1(id int primary key auto_increment) engine=heap;
 
680
create TEMPORARY table t1(id int primary key auto_increment) engine=MEMORY;
681
681
insert into t1 values (null);
682
682
insert into t1 values (null);
683
683
select * from t1;
692
692
1
693
693
2
694
694
50
695
 
alter table t1 engine = heap;
 
695
alter table t1 engine = MEMORY;
696
696
insert into t1 values (null);
697
697
select * from t1;
698
698
id