~thomir-deactivatedaccount/drizzle/drizzle-fix-bug653747

« back to all changes in this revision

Viewing changes to plugin/haildb/test-suite-dir/haildb/tests/t/index_varchar.test

  • Committer: Brian Aker
  • Date: 2010-10-10 02:07:52 UTC
  • mfrom: (1827.2.3 staging)
  • Revision ID: brian@tangent.org-20101010020752-ktv73isay5dxtvp3
Merge in switch on table_share_instance inheritance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
create table t1 (a int primary key, b varchar(100) unique);
2
 
insert into t1 values (2,"Beaker"),(3,"Cricket"), (1,"Shirty");
3
 
--replace_column 9 #
4
 
EXPLAIN SELECT * FROM t1;
5
 
SELECT * FROM t1;
6
 
--replace_column 9 #
7
 
EXPLAIN SELECT a FROM t1 FORCE INDEX (PRIMARY) WHERE b="Beaker";
8
 
SELECT a FROM t1 FORCE INDEX (PRIMARY) WHERE b="Beaker";
9
 
drop table t1;