summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqlslap.test
diff options
context:
space:
mode:
authorunknown <brian@piggy.tangent.org>2007-08-20 13:03:50 -0700
committerunknown <brian@piggy.tangent.org>2007-08-20 13:03:50 -0700
commitc8b9315db3fbdc0a26097c3451ebe89e32c49d45 (patch)
tree2b1cf296c75193a5be9e05f491d127ff7a4aea45 /mysql-test/t/mysqlslap.test
parent8d025792a5cbb8a1ed5361116d5d4f5d1db10a56 (diff)
downloadmariadb-git-c8b9315db3fbdc0a26097c3451ebe89e32c49d45.tar.gz
Extending tests for detach (found a memory issue in it, this fixes that and now tests it).
client/mysqlslap.c: Fix memory allocation mysql-test/t/mysqlslap.test: Extend test for --detach
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 192aefb0e03..dffa226d101 100644
--- a/mysql-test/t/mysqlslap.test
+++ b/mysql-test/t/mysqlslap.test
@@ -38,3 +38,5 @@
--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;
+
+--exec $MYSQL_SLAP --silent --concurrency=5 --iterations=1 --number-int-cols=2 --number-char-cols=3 --auto-generate-sql --auto-generate-sql-add-autoincrement --auto-generate-sql-load-type=write --detach=2