~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/select_in_null.result

  • Committer: Brian Aker
  • Date: 2010-12-30 04:59:36 UTC
  • mto: (2040.1.2 clean) (2041.2.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2041.
  • Revision ID: brian@tangent.org-20101230045936-r1i4sek9qotl8abq
result_type() to display the internal type.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
b int,
7
7
primary key( a )
8
8
) engine=myisam;
 
9
begin;
9
10
insert into foo( b ) values (1),(1),(1),(1),(1);
10
11
create table t2 as select * from foo;
11
12
insert into foo( b ) select b from t2;
22
23
create table t2 as select * from foo;
23
24
insert into foo( b ) select b from t2;
24
25
drop table t2;
 
26
commit;
25
27
explain select * from foo where a in (160000, 160001, 160002);
26
28
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
27
29
1       SIMPLE  foo     range   PRIMARY PRIMARY 4       NULL    3       Using where