~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/heap.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:
235
235
create table t1 (v varchar(10), c char(10), t varchar(50), key(v), key(c), key(t(10)));
236
236
show create table t1;
237
237
disable_query_log;
 
238
begin;
238
239
let $1=10;
239
240
while ($1)
240
241
{
248
249
  }
249
250
  dec $1;
250
251
}
 
252
commit;
251
253
enable_query_log;
252
254
select count(*) from t1;
253
255
insert into t1 values(concat('a',char(1)),concat('a',char(1)),concat('a',char(1)));
319
321
show create table t1;
320
322
disable_query_log;
321
323
let $1=10;
 
324
begin;
322
325
while ($1)
323
326
{
324
327
  let $2=27;
331
334
  }
332
335
  dec $1;
333
336
}
 
337
commit;
334
338
enable_query_log;
335
339
select count(*) from t1;
336
340
insert into t1 values(concat('a',char(1)),concat('a',char(1)),concat('a',char(1)));