~posulliv/drizzle/optimizer-style-cleanup

« back to all changes in this revision

Viewing changes to tests/t/heap_btree.test

  • Committer: Padraig O'Sullivan
  • Date: 2010-03-15 14:05:26 UTC
  • mfrom: (1237.9.99 staging)
  • Revision ID: osullivan.padraig@gmail.com-20100315140526-opbgwdwn6tfecdkq
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
create temporary table t1 (a int not null,b int not null, primary key using BTREE (a)) engine=MEMORY comment="testing heaps";
10
10
insert into t1 values(1,1),(2,2),(3,3),(4,4);
11
11
delete from t1 where a=1 or a=0;
12
 
#show table status like "t1";
 
12
--replace_column 1 #  6 # 7 # 8 # 9 # 10 #
 
13
show table status like "t1";
13
14
show keys from t1;
14
15
select * from t1;
15
16
select * from t1 where a=4;
29
30
create temporary table t1 (a int not null,b int not null, primary key using BTREE (a)) engine=MEMORY comment="testing heaps";
30
31
insert into t1 values(1,1),(2,2),(3,3),(4,4);
31
32
alter table t1 modify a int not null auto_increment, engine=innodb, comment="new innodb table";
32
 
#show table status like "t1";
 
33
--replace_column 1 #  6 # 7 # 8 # 9 # 10 #
 
34
show table status like "t1";
33
35
select * from t1;
34
36
drop table t1;
35
37