~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include/index_merge_2sweeps.inc

  • Committer: Stewart Smith
  • Date: 2009-03-11 06:37:19 UTC
  • mto: (910.4.19 sparc) (937.2.1 sparc)
  • mto: This revision was merged to the branch mainline in revision 931.
  • Revision ID: stewart@flamingspork.com-20090311063719-v9iqjd00ts6260vv
batch up more INSERTs into transactions to help tests run quicker.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
--disable_query_log
35
35
let $1=1000;
 
36
begin;
36
37
while ($1)
37
38
{
38
39
  eval insert into t1 values($1, $1, $1, 'filler-data','filler-data-2');
39
40
  dec $1;
40
41
}
 
42
commit;
41
43
--enable_query_log
42
44
 
43
45
select * from t1 where (key1 >= 2 and key1 <= 10) or (pk >= 4 and pk <=8 );