summaryrefslogtreecommitdiff
path: root/mysql-test/suite
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite')
-rw-r--r--mysql-test/suite/innodb/t/innodb_bug11766634.test4
-rw-r--r--mysql-test/suite/innodb_plugin/t/innodb_bug11766634.test4
2 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/innodb_bug11766634.test b/mysql-test/suite/innodb/t/innodb_bug11766634.test
index a830955c78a..91be4da0338 100644
--- a/mysql-test/suite/innodb/t/innodb_bug11766634.test
+++ b/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;
diff --git a/mysql-test/suite/innodb_plugin/t/innodb_bug11766634.test b/mysql-test/suite/innodb_plugin/t/innodb_bug11766634.test
index 1780317675d..cd46deb64fb 100644
--- a/mysql-test/suite/innodb_plugin/t/innodb_bug11766634.test
+++ b/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;