← Back to team overview

maria-developers team mailing list archive

Re: [PATCH] Make innodb_bug57255.test 10-20 times faster

 

Hi!

>>>>> "Stewart" == Stewart Smith <stewart@xxxxxxxxxxxxxxxx> writes:

Stewart> Real simple patch, makes the test run much faster if using a real
Stewart> storage device without libeatmydata.

Stewart> patch should be appliable (just change the path)

<cut>

Stewart> === modified file 'plugin/innobase/tests/t/innodb_bug57255.test'
Stewart> --- plugin/innobase/tests/t/innodb_bug57255.test	2010-12-07 02:40:01 +0000
Stewart> +++ plugin/innobase/tests/t/innodb_bug57255.test	2010-12-07 02:40:36 +0000
Stewart> @@ -12,6 +12,7 @@
Stewart>  insert into A values(1), (2);
 
Stewart>  --disable_query_log
Stewart> +begin;
Stewart>  let $i=257;
Stewart>  while ($i)
Stewart>  {
Stewart> @@ -24,6 +25,7 @@
Stewart>  insert into C(f1) values(2);
Stewart>  dec $i;
Stewart>  }
Stewart> +commit;
Stewart>  --enable_query_log

Thanks!

Now applied in MariaDB 5.2

Regards,
Monty



References