maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #03764
[PATCH] Make innodb_bug57255.test 10-20 times faster
Real simple patch, makes the test run much faster if using a real
storage device without libeatmydata.
patch should be appliable (just change the path)
------------------------------------------------------------
revno: 2477
committer: Stewart Smith <stewart@xxxxxxxxxxxxxxxx>
branch nick: update-innobase
timestamp: Tue 2010-12-07 13:40:36 +1100
message:
make innodb_bug57255 test run 10-20 times faster (use a txn when loading data)
modified:
plugin/innobase/tests/t/innodb_bug57255.test
diff:
=== modified file 'plugin/innobase/tests/t/innodb_bug57255.test'
--- plugin/innobase/tests/t/innodb_bug57255.test 2010-12-07 02:40:01 +0000
+++ plugin/innobase/tests/t/innodb_bug57255.test 2010-12-07 02:40:36 +0000
@@ -12,6 +12,7 @@
insert into A values(1), (2);
--disable_query_log
+begin;
let $i=257;
while ($i)
{
@@ -24,6 +25,7 @@
insert into C(f1) values(2);
dec $i;
}
+commit;
--enable_query_log
# Following Deletes should not report error
--
Stewart Smith
Follow ups