summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqlslap.test
diff options
context:
space:
mode:
authorunknown <brian@zim.(none)>2007-03-26 02:24:49 -0700
committerunknown <brian@zim.(none)>2007-03-26 02:24:49 -0700
commit1517e2c45680c4f92d05b7903e9469dcea995660 (patch)
tree7b4198d0547b3b43933b1a867437fa4ea766dadb /mysql-test/t/mysqlslap.test
parentd5915675f67ce5beb4f6118ff8d121da36d19b52 (diff)
downloadmariadb-git-1517e2c45680c4f92d05b7903e9469dcea995660.tar.gz
Added pre and post option to test run (allows me to adjust an engine once all of the data has been loaded).
Kinda obvious that this was going to come up ;) client/client_priv.h: New options client/mysqlslap.c: Added option for pre/post run mysql-test/r/mysqlslap.result: Updated tests mysql-test/t/mysqlslap.test: Updated test
Diffstat (limited to 'mysql-test/t/mysqlslap.test')
-rw-r--r--mysql-test/t/mysqlslap.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/mysqlslap.test b/mysql-test/t/mysqlslap.test
index a40a01f1f25..2a7bbfed932 100644
--- a/mysql-test/t/mysqlslap.test
+++ b/mysql-test/t/mysqlslap.test
@@ -34,3 +34,5 @@
--exec $MYSQL_SLAP --silent --concurrency=5 --iterations=1 --number-int-cols=2 --number-char-cols=3 --auto-generate-sql --auto-generate-sql-guid-primary --auto-generate-sql-load-type=key --auto-generate-sql-execute-number=5
--exec $MYSQL_SLAP --silent --concurrency=5 --iterations=1 --number-int-cols=2 --number-char-cols=3 --auto-generate-sql --auto-generate-sql-guid-primary --auto-generate-sql-load-type=key --auto-generate-sql-execute-number=5 --auto-generate-sql-secondary-indexes=3
+
+--exec $MYSQL_SLAP --only-print --delimiter=";" --query="select * from t1;select * from t2" --create="CREATE TABLE t1 (id int, name varchar(64)); create table t2(foo1 varchar(32), foo2 varchar(32)); INSERT INTO t1 VALUES (1, 'This is a test'); insert into t2 values ('test', 'test2')" --engine="heap,myisam" --post-query="SHOW TABLES" --pre-query="SHOW TABLES";