← Back to team overview

maria-developers team mailing list archive

Rev 26: sysbench prepare needs --max-time or --max-requests in file:///Users/hakan/work/monty_program/mariadb-tools/

 

At file:///Users/hakan/work/monty_program/mariadb-tools/

------------------------------------------------------------
revno: 26
revision-id: hakan@xxxxxxxxxxxx-20100310000201-nlm71rud41hxpk38
parent: hakan@xxxxxxxxxxxx-20100309233127-vgj4q029apf0un2x
committer: Hakan Kuecuekyilmaz <hakan@xxxxxxxxxxxx>
branch nick: mariadb-tools
timestamp: Wed 2010-03-10 01:02:01 +0100
message:
  sysbench prepare needs --max-time or --max-requests
=== modified file 'sysbench/run-sysbench-myisam.sh'
--- a/sysbench/run-sysbench-myisam.sh	2010-03-09 23:31:27 +0000
+++ b/sysbench/run-sysbench-myisam.sh	2010-03-10 00:02:01 +0000
@@ -291,7 +291,7 @@
 
     echo "[$(date "+%Y-%m-%d %H:%M:%S")] Preparing and loading data for $SYSBENCH_TEST."
     SYSBENCH_OPTIONS="${SYSBENCH_OPTIONS} --test=${TEST_DIR}/${SYSBENCH_TEST}"
-    $SYSBENCH $SYSBENCH_OPTIONS prepare
+    $SYSBENCH $SYSBENCH_OPTIONS --max-time=$RUN_TIME prepare
     
     $MYSQLADMIN $MYSQLADMIN_OPTIONS shutdown
     sync

=== modified file 'sysbench/run-sysbench.sh'
--- a/sysbench/run-sysbench.sh	2010-03-09 23:31:27 +0000
+++ b/sysbench/run-sysbench.sh	2010-03-10 00:02:01 +0000
@@ -287,7 +287,7 @@
 
     echo "[$(date "+%Y-%m-%d %H:%M:%S")] Preparing and loading data for $SYSBENCH_TEST."
     SYSBENCH_OPTIONS="${SYSBENCH_OPTIONS} --test=${TEST_DIR}/${SYSBENCH_TEST}"
-    $SYSBENCH $SYSBENCH_OPTIONS prepare
+    $SYSBENCH $SYSBENCH_OPTIONS --max-time=$RUN_TIME prepare
     
     $MYSQLADMIN $MYSQLADMIN_OPTIONS shutdown
     sync