diff options
author | Sergey Vojtovich <svoj@mariadb.org> | 2013-09-17 18:51:14 +0400 |
---|---|---|
committer | Sergey Vojtovich <svoj@mariadb.org> | 2013-09-17 18:51:14 +0400 |
commit | 45d3ada7c2f81227bb0b8b219b787f4d9746ca21 (patch) | |
tree | 6e89b9b8d110b7f3bf15fb4412cd4de76093c9e8 /mysql-test/t/mysqlslap.test | |
parent | e2d1aaec8232168ca03252be07bbb0c705b70397 (diff) | |
download | mariadb-git-45d3ada7c2f81227bb0b8b219b787f4d9746ca21.tar.gz |
MDEV-4684 - Enhancement request: --init-command support for mysqlslap
Added --init-command argument to mysqlslap: SQL Command to execute
when connecting to MySQL server. Will automatically be re-executed
when reconnecting.
Diffstat (limited to 'mysql-test/t/mysqlslap.test')
-rw-r--r-- | mysql-test/t/mysqlslap.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/mysqlslap.test b/mysql-test/t/mysqlslap.test index 69eaae76409..c49c4ab3d7d 100644 --- a/mysql-test/t/mysqlslap.test +++ b/mysql-test/t/mysqlslap.test @@ -73,3 +73,10 @@ DROP DATABASE bug58090; --replace_regex /queries: [0-9]+.[0-9]+/queries: TIME/ --exec $MYSQL_SLAP + +--echo # +--echo # MDEV-4684 - Enhancement request: --init-command support for mysqlslap +--echo # + +--exec $MYSQL_SLAP --create-schema=test --init-command="CREATE TABLE t1(a INT)" --silent --concurrency=1 --iterations=1 +DROP TABLE t1; |