~jaypipes/drizzle/xa-transaction-log

« back to all changes in this revision

Viewing changes to tests/t/heap.test

  • Committer: Jay Pipes
  • Date: 2010-03-11 00:18:09 UTC
  • mfrom: (1273.1.60 staging)
  • Revision ID: jpipes@serialcoder-20100311001809-bwqn45a6l4u1gtbk
Merge 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 (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
--replace_column 1 #  6 # 7 # 8 # 9 # 10 #
12
13
show table status like "t1";
13
14
show keys from t1;
14
15
select * from t1;
29
30
create temporary table t1 (a int not null,b int not null, primary key (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";
 
33
--replace_column 1 #  6 # 7 # 8 # 9 # 10 #
32
34
show table status like "t1";
33
35
select * from t1;
34
36
drop table t1;
459
461
#
460
462
create temporary table t1 (c char(10)) engine=memory;
461
463
create temporary table t2 (c varchar(10)) engine=memory;
462
 
--replace_column 3 # 8 #
 
464
--replace_column 1 #  6 # 7 # 8 # 9 # 10 #
463
465
show table status like 't_';
464
466
drop table t1, t2;
465
467