diff options
author | unknown <knielsen@ymer.(none)> | 2007-05-24 11:27:59 +0200 |
---|---|---|
committer | unknown <knielsen@ymer.(none)> | 2007-05-24 11:27:59 +0200 |
commit | 2756cb6203732ecc423c7c803630a871b93d01a2 (patch) | |
tree | 696746f49b60f443db0d6848eaee20eba71cb094 /client/mysqlslap.c | |
parent | 2d95236b718002a48e31ded9449327da077200d8 (diff) | |
download | mariadb-git-2756cb6203732ecc423c7c803630a871b93d01a2.tar.gz |
Fix comments and option description in mysqlslap.
Diffstat (limited to 'client/mysqlslap.c')
-rw-r--r-- | client/mysqlslap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/mysqlslap.c b/client/mysqlslap.c index 0335922881a..692334ec72d 100644 --- a/client/mysqlslap.c +++ b/client/mysqlslap.c @@ -35,7 +35,8 @@ Supply your own create and query SQL statements, with 50 clients querying (200 selects for each): - mysqlslap --create="CREATE TABLE A (a int);INSERT INTO A (23)" \ + mysqlslap --delimiter=";" \ + --create="CREATE TABLE A (a int);INSERT INTO A VALUES (23)" \ --query="SELECT * FROM A" --concurrency=50 --iterations=200 Let the program build the query SQL statement with a table of two int @@ -554,7 +555,7 @@ static struct my_option my_long_options[] = GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, {"host", 'h', "Connect to host.", (gptr*) &host, (gptr*) &host, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, - {"iterations", 'i', "Number of times too run the tests.", (gptr*) &iterations, + {"iterations", 'i', "Number of times to run the tests.", (gptr*) &iterations, (gptr*) &iterations, 0, GET_UINT, REQUIRED_ARG, 1, 0, 0, 0, 0, 0}, {"number-char-cols", 'x', "Number of VARCHAR columns to create table with if specifying --auto-generate-sql ", |