List:Internals« Previous MessageNext Message »
From:Stewart Smith Date:December 7 2010 2:44am
Subject:[PATCH] Make innodb_bug57255.test 10-20 times faster
View as plain text  
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@stripped>
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
Thread
[PATCH] Make innodb_bug57255.test 10-20 times fasterStewart Smith7 Dec
  • re: [PATCH] Make innodb_bug57255.test 10-20 times fasterMichael Widenius10 Dec
  • Re: [PATCH] Make innodb_bug57255.test 10-20 times fasterVasil Dimov14 Dec