diff options
author | unknown <patg@krsna.patg.net> | 2005-11-29 16:02:21 -0800 |
---|---|---|
committer | unknown <patg@krsna.patg.net> | 2005-11-29 16:02:21 -0800 |
commit | a9d363e698e4bed9b833394606d69b6099102f2d (patch) | |
tree | 55dd1fb53d85a10298fd8cef84bcaa5e90b29008 /mysql-test/t/mysqlslap.test | |
parent | dee85cba32a96c2596936aff63b3c76c7ae8e771 (diff) | |
download | mariadb-git-a9d363e698e4bed9b833394606d69b6099102f2d.tar.gz |
Worklog #2983 Mysqlslap load emulator tool and accompanied test, results
and modifications to mysql-test-run(.pl/.sh)
client/Makefile.am:
Worklog #2983, added mysqlslap to Makefile.am
client/client_priv.h:
Worklog #2983 Added OPT_CREATE_SLAP_SCHEMA
mysql-test/mysql-test-run.pl:
Worklog #2983 Added mysqlslap test binary to test script
mysql-test/mysql-test-run.sh:
Worklog #2983 Added mysqlslap binary def to test script
client/mysqlslap.c:
Worklog #2983 mysqlslap.c, new utility for running load simulation.
mysql-test/r/mysqlslap.result:
Worklog #2983 Mysqlslap test results
mysql-test/t/mysqlslap.test:
Worklog #2983 Mysqlslap test
Diffstat (limited to 'mysql-test/t/mysqlslap.test')
-rw-r--r-- | mysql-test/t/mysqlslap.test | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/mysqlslap.test b/mysql-test/t/mysqlslap.test new file mode 100644 index 00000000000..7df7f96f5ee --- /dev/null +++ b/mysql-test/t/mysqlslap.test @@ -0,0 +1,9 @@ +# Can't run test of external client with embedded server +--source include/not_embedded.inc + +--exec $MYSQL_SLAP --help +--exec $MYSQL_SLAP --silent --drop-schema --concurrency=5 --concurrency-load=5 --iterations=20 --number-int-cols=2 --number-char-cols=3 --number-rows=12 --auto-generate-sql + +--exec $MYSQL_SLAP --silent --drop-schema --concurrency=5 --concurrency-load=5 --iterations=20 --number-rows=10 --query="select * from t1" --data="INSERT INTO t1 VALUES (1, 'This is a test')" --create="CREATE TABLE t1 (id int, name varchar(64))" + +--exec $MYSQL_SLAP --silent --drop-schema --concurrency=5 --concurrency-load=5 --iterations=20 --delimiter=";" --number-rows=10 --query="select * from t1;select * from t2" --data="INSERT INTO t1 VALUES (1, 'This is a test'); insert into t2 values ('test', 'test2')" --create="CREATE TABLE t1 (id int, name varchar(64)); create table t2(foo1 varchar(32), foo2 varchar(32))" |