~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/select_in_null.result

  • Committer: Stewart Smith
  • Date: 2010-12-29 02:19:40 UTC
  • mto: (2099.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2100.
  • Revision ID: stewart@flamingspork.com-20101229021940-8uxwp549h24lfdzq
select_in_null test was attempting DDL inside txn. remove begin/commit as it's not needed anyway

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;
10
9
insert into foo( b ) values (1),(1),(1),(1),(1);
11
10
create table t2 as select * from foo;
12
11
insert into foo( b ) select b from t2;
23
22
create table t2 as select * from foo;
24
23
insert into foo( b ) select b from t2;
25
24
drop table t2;
26
 
commit;
27
25
explain select * from foo where a in (160000, 160001, 160002);
28
26
id      select_type     table   type    possible_keys   key     key_len ref     rows    Extra
29
27
1       SIMPLE  foo     range   PRIMARY PRIMARY 4       NULL    3       Using where