Browse Source

Bug #11766634 59783: INNODB DATA GROWS UNEXPECTEDLY WHEN INSERTING, TRUNCATING, INSERTING THE

The test case must insert all the records using a single transaction. Otherwise the test 
case takes more than 15 minutes and will time out in pb2 and mtr.
pull/47/merge
Annamalai Gurusami 14 years ago
parent
commit
d4ed7cf411
  1. 4
      mysql-test/suite/innodb/t/innodb_bug11766634.test
  2. 4
      mysql-test/suite/innodb_plugin/t/innodb_bug11766634.test

4
mysql-test/suite/innodb/t/innodb_bug11766634.test

@ -18,11 +18,13 @@ let $recs = 36262;
--disable_query_log
let $c = $recs;
start transaction;
while ($c)
{
insert into t1 values ('Hello World');
dec $c;
}
commit work;
--enable_query_log
perl;
@ -35,11 +37,13 @@ create table t1 (f1 char(255)) engine innodb;
--disable_query_log
let $c = $recs;
start transaction;
while ($c)
{
insert into t1 values ('Hello World');
dec $c;
}
commit work;
--enable_query_log
perl;

4
mysql-test/suite/innodb_plugin/t/innodb_bug11766634.test

@ -18,11 +18,13 @@ let $recs = 36262;
--disable_query_log
let $c = $recs;
start transaction;
while ($c)
{
insert into t1 values ('Hello World');
dec $c;
}
commit work;
--enable_query_log
perl;
@ -35,11 +37,13 @@ create table t1 (f1 char(255)) engine innodb;
--disable_query_log
let $c = $recs;
start transaction;
while ($c)
{
insert into t1 values ('Hello World');
dec $c;
}
commit work;
--enable_query_log
perl;

Loading…
Cancel
Save