~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/heap_btree.test

  • Committer: Brian Aker
  • Date: 2010-09-15 20:24:31 UTC
  • mto: (1766.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1767.
  • Revision ID: brian@tangent.org-20100915202431-wbrrl4vg6rzjvdiu
Adding opt for optional schedulers and making them --plugin-add only.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
update t1 set b=b+1 where a>=3;
19
19
replace t1 values (3,3);
20
20
select * from t1;
21
 
alter table t1 add c int DEFAULT 42 not null, add key using BTREE (c,a);
 
21
alter table t1 add c int not null, add key using BTREE (c,a);
22
22
drop table t1;
23
23
 
24
24
create temporary table t1 (a int not null,b int not null, primary key using BTREE (a)) engine=MEMORY comment="testing heaps";
123
123
select * from t1 where btn like "ff%";
124
124
select * from t1 where btn like " %";
125
125
select * from t1 where btn like "q%";
126
 
alter table t1 add column new_col char(1) DEFAULT "Y" not null, add key using BTREE (btn,new_col), drop key btn;
 
126
alter table t1 add column new_col char(1) not null, add key using BTREE (btn,new_col), drop key btn;
127
127
update t1 set new_col=left(btn,1);
128
128
explain select * from t1 where btn="a";
129
129
explain select * from t1 where btn="a" and new_col="a";