diff options
author | brian@zim.(none) <> | 2007-06-15 17:22:57 -0700 |
---|---|---|
committer | brian@zim.(none) <> | 2007-06-15 17:22:57 -0700 |
commit | ab73475950bc57486933d4c64122ef6eef7b2acb (patch) | |
tree | 89ab9ccb96ad0622bd9265010dd763bf2adfcee6 /mysql-test/t/mysqlslap.test | |
parent | e6a478dee6a36f515d24b0ed6c30f8dc1d30c6ae (diff) | |
download | mariadb-git-ab73475950bc57486933d4c64122ef6eef7b2acb.tar.gz |
Added a test for pre-statement call, and fixed connection/deconnect code so that the rest of bbench can be ran by others.
Diffstat (limited to 'mysql-test/t/mysqlslap.test')
-rw-r--r-- | mysql-test/t/mysqlslap.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/mysqlslap.test b/mysql-test/t/mysqlslap.test index 2a7bbfed932..192aefb0e03 100644 --- a/mysql-test/t/mysqlslap.test +++ b/mysql-test/t/mysqlslap.test @@ -36,3 +36,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"; + + --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" --number-of-queries=6 --commit=1; |