~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/order_by.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:
377
377
create table t1(id int not null auto_increment primary key, t char(12));
378
378
disable_query_log;
379
379
let $1 = 1000;
 
380
begin;
380
381
while ($1)
381
382
 {
382
383
  eval insert into t1(t) values ('$1'); 
383
384
  dec $1;
384
385
 }
 
386
commit;
385
387
enable_query_log;
386
388
select id,t from t1 force index (primary) order by id;
387
389
drop table t1;