summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysqlslap.test
diff options
context:
space:
mode:
authorunknown <brian@zim.(none)>2007-03-16 15:20:22 -0700
committerunknown <brian@zim.(none)>2007-03-16 15:20:22 -0700
commit9055eaa1ebe515530902968e28c404a9a6122cab (patch)
tree4a1f522d958dc43b5ea10eb958fb78bdd39a16c8 /mysql-test/t/mysqlslap.test
parent260e43e75dee8a261ab5dd0ab8a595f9acc9f814 (diff)
downloadmariadb-git-9055eaa1ebe515530902968e28c404a9a6122cab.tar.gz
The pthread() support was not working. Once I fixed use-thread in a previous push I realized that the pthread/windows code was not working. I've replaced the fork/thread design with a pure pthread design using condition timers and broadcast.
Ramification, UNIX now uses thread, support for slaves had to be dropped and there is no need for the --use-threads flag. Added --concurrency=0 option so that it will start at 1 and keep going up until something bad happens :) client/client_priv.h: Dead option removed client/mysqlslap.c: Removed lock code, replaced with posix thread code. mysql-test/mysql-test-run.pl: Removed dead option mysql-test/t/mysqlslap.test: Removed dead option
Diffstat (limited to 'mysql-test/t/mysqlslap.test')
-rw-r--r--mysql-test/t/mysqlslap.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/mysqlslap.test b/mysql-test/t/mysqlslap.test
index f2bb9a72ecf..a40a01f1f25 100644
--- a/mysql-test/t/mysqlslap.test
+++ b/mysql-test/t/mysqlslap.test
@@ -4,7 +4,7 @@
--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 --silent --concurrency=5 --iterations=20 --number-int-cols=2 --number-char-cols=3 --auto-generate-sql
--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=";"