~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/bench_count_distinct.test

  • 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:
8
8
create table t1(n int not null, key(n)) delay_key_write = 1;
9
9
let $1=100;
10
10
disable_query_log;
 
11
begin;
11
12
while ($1)
12
13
{
13
14
 eval insert into t1 values($1);
14
15
 eval insert into t1 values($1);
15
16
 dec $1;
16
17
}
 
18
commit;
17
19
enable_query_log;
18
20
select count(distinct n) from t1;
19
21
explain extended select count(distinct n) from t1;