summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqlslap.test
diff options
context:
space:
mode:
authorunknown <brian@zim.tangent.org>2006-01-12 12:27:25 -0800
committerunknown <brian@zim.tangent.org>2006-01-12 12:27:25 -0800
commit88ece282f549b6d8cb912d12052cc6e9e110d88e (patch)
treeca9472161f603054361a6eb96cc08d370e795bc5 /mysql-test/t/mysqlslap.test
parentd6b565ef35de1317078bfe7400e9b15617a60d7e (diff)
downloadmariadb-git-88ece282f549b6d8cb912d12052cc6e9e110d88e.tar.gz
Fixed bug #16167
Added --use-threads option for porting to Windows. client/mysqlslap.c: Addinng thread option for porting to windows (second piece of code) Also added flush call to fix one bug mysql-test/r/mysqlslap.result: New results mysql-test/t/disabled.def: Bug 16167 should not be fixed mysql-test/t/mysqlslap.test: Added test for new use-threads option
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 8c2fcf7aac5..fb44f5c29d5 100644
--- a/mysql-test/t/mysqlslap.test
+++ b/mysql-test/t/mysqlslap.test
@@ -4,6 +4,8 @@
--exec $MYSQL_SLAP --silent --concurrency=5 --iterations=20 --number-int-cols=2 --number-char-cols=3 --auto-generate-sql
+--exec $MYSQL_SLAP --silent --concurrency=5 --iterations=20 --number-int-cols=2 --number-char-cols=3 --auto-generate-sql --use-threads
+
--exec $MYSQL_SLAP --only-print --iterations=20 --query="select * from t1" --create="CREATE TABLE t1 (id int, name varchar(64)); INSERT INTO t1 VALUES (1, 'This is a test')" --delimiter=";"
--exec $MYSQL_SLAP --silent --concurrency=5 --iterations=20 --query="select * from t1" --create="CREATE TABLE t1 (id int, name varchar(64)); INSERT INTO t1 VALUES (1, 'This is a test')" --delimiter=";"