mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Fix comments and option description in mysqlslap.
This commit is contained in:
@@ -35,7 +35,8 @@
|
|||||||
Supply your own create and query SQL statements, with 50 clients
|
Supply your own create and query SQL statements, with 50 clients
|
||||||
querying (200 selects for each):
|
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
|
--query="SELECT * FROM A" --concurrency=50 --iterations=200
|
||||||
|
|
||||||
Let the program build the query SQL statement with a table of two int
|
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},
|
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
|
||||||
{"host", 'h', "Connect to host.", (gptr*) &host, (gptr*) &host, 0, GET_STR,
|
{"host", 'h', "Connect to host.", (gptr*) &host, (gptr*) &host, 0, GET_STR,
|
||||||
REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
|
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},
|
(gptr*) &iterations, 0, GET_UINT, REQUIRED_ARG, 1, 0, 0, 0, 0, 0},
|
||||||
{"number-char-cols", 'x',
|
{"number-char-cols", 'x',
|
||||||
"Number of VARCHAR columns to create table with if specifying --auto-generate-sql ",
|
"Number of VARCHAR columns to create table with if specifying --auto-generate-sql ",
|
||||||
|
Reference in New Issue
Block a user