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

« back to all changes in this revision

Viewing changes to plugin/haildb/test-suite-dir/haildb/tests/r/index_null.result

  • 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 int, index bindex(b));
2
 
insert into t1 values (1,2),(2,2),(3,NULL),(4,NULL);
3
 
explain select * from t1 force index (bindex) where b is NULL;
4
 
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
5
 
1       SIMPLE  t1      ref     bindex  bindex  5       const   #       Using where
6
 
select * from t1 force index (bindex) where b is NULL;
7
 
a       b
8
 
3       NULL
9
 
4       NULL
10
 
drop table t1;