~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/heap_btree.result

  • Committer: Brian Aker
  • Date: 2009-06-16 00:53:22 UTC
  • mto: This revision was merged to the branch mainline in revision 1094.
  • Revision ID: brian@gaz-20090616005322-w0ode4jul9z8s2y9
Partial fix for tests for tmp

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
drop table t1;
32
32
create table t1 (a int not null,b int not null, primary key using BTREE (a)) engine=heap comment="testing heaps";
33
33
insert into t1 values(1,1),(2,2),(3,3),(4,4);
34
 
alter table t1 modify a int not null auto_increment, engine=myisam, comment="new myisam table";
 
34
alter table t1 modify a int not null auto_increment, engine=innodb, comment="new innodb table";
35
35
select * from t1;
36
36
a       b
37
37
1       1
63
63
736494
64
64
802616
65
65
869751
66
 
alter table t1 engine=myisam;
 
66
alter table t1 engine=innodb;
67
67
explain select * from t1 where a in (869751,736494,226312,802616);
68
68
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
69
 
1       SIMPLE  t1      range   uniq_id uniq_id 4       NULL    4       Using where; Using index
 
69
1       SIMPLE  t1      index   uniq_id uniq_id 4       NULL    5       Using where; Using index
70
70
drop table t1;
71
71
create table t1 (x int not null, y int not null, key x  using BTREE (x,y), unique y  using BTREE (y))
72
72
engine=heap;