Commit 66c518dc authored by Vasil Dimov's avatar Vasil Dimov

Speed up innodb_bug57255.test

Submitted by:	Stewart Smith (via internals@lists.mysql.com)
parent 204af030
...@@ -12,6 +12,7 @@ create table C(id int not null auto_increment primary key, f1 int not null, fore ...@@ -12,6 +12,7 @@ create table C(id int not null auto_increment primary key, f1 int not null, fore
insert into A values(1), (2); insert into A values(1), (2);
--disable_query_log --disable_query_log
begin;
let $i=257; let $i=257;
while ($i) while ($i)
{ {
...@@ -24,6 +25,7 @@ while ($i) ...@@ -24,6 +25,7 @@ while ($i)
insert into C(f1) values(2); insert into C(f1) values(2);
dec $i; dec $i;
} }
commit;
--enable_query_log --enable_query_log
# Following Deletes should not report error # Following Deletes should not report error
......
...@@ -12,6 +12,7 @@ create table C(id int not null auto_increment primary key, f1 int not null, fore ...@@ -12,6 +12,7 @@ create table C(id int not null auto_increment primary key, f1 int not null, fore
insert into A values(1), (2); insert into A values(1), (2);
--disable_query_log --disable_query_log
begin;
let $i=257; let $i=257;
while ($i) while ($i)
{ {
...@@ -24,6 +25,7 @@ while ($i) ...@@ -24,6 +25,7 @@ while ($i)
insert into C(f1) values(2); insert into C(f1) values(2);
dec $i; dec $i;
} }
commit;
--enable_query_log --enable_query_log
# Following Deletes should not report error # Following Deletes should not report error
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment