diff options
author | unknown <brian@zim.(none)> | 2007-02-04 15:31:35 -0800 |
---|---|---|
committer | unknown <brian@zim.(none)> | 2007-02-04 15:31:35 -0800 |
commit | 72413cb665c86aa6042e274fe8e770b0d6b6dca1 (patch) | |
tree | 37f398c48810299a4b63ef352ae1a35f6a18b822 /client | |
parent | f1be406368ccb88f6454555388dcc8bb505db7c4 (diff) | |
download | mariadb-git-72413cb665c86aa6042e274fe8e770b0d6b6dca1.tar.gz |
Fixed bug#26027
Just a bad copy/paste of help info
client/mysqlslap.c:
Fixed for bad option name
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqlslap.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/client/mysqlslap.c b/client/mysqlslap.c index 8d0d8da1471..ad2c8685ba1 100644 --- a/client/mysqlslap.c +++ b/client/mysqlslap.c @@ -401,7 +401,7 @@ static struct my_option my_long_options[] = "Load types are mixed, write, or read. Default is mixed\n", (gptr*) &auto_generate_sql_type, (gptr*) &auto_generate_sql_type, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, - {"auto-generate-sql-write_number", OPT_SLAP_AUTO_GENERATE_WRITE_NUM, + {"auto-generate-sql-write-number", OPT_SLAP_AUTO_GENERATE_WRITE_NUM, "Number of rows to insert to used in read and write loads (default is 100).\n", (gptr*) &auto_generate_sql_number, (gptr*) &auto_generate_sql_number, 0, GET_ULL, REQUIRED_ARG, 100, 0, 0, 0, 0, 0}, @@ -439,13 +439,13 @@ static struct my_option my_long_options[] = (gptr*) &lock_directory, (gptr*) &lock_directory, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0}, {"number-char-cols", 'x', - "Number of INT columns to create table with if specifying --auto-generate-sql.", + "Number of VARCHAR columns to create table with if specifying --auto-generate-sql ", (gptr*) &num_char_cols, (gptr*) &num_char_cols, 0, GET_UINT, REQUIRED_ARG, 1, 0, 0, 0, 0, 0}, {"number-int-cols", 'y', - "Number of VARCHAR columns to create table with if specifying " - "--auto-generate-sql.", (gptr*) &num_int_cols, (gptr*) &num_int_cols, 0, - GET_UINT, REQUIRED_ARG, 1, 0, 0, 0, 0, 0}, + "Number of INT columns to create table with if specifying --auto-generate-sql.", + (gptr*) &num_int_cols, (gptr*) &num_int_cols, 0, GET_UINT, REQUIRED_ARG, + 1, 0, 0, 0, 0, 0}, {"number-of-queries", OPT_MYSQL_NUMBER_OF_QUERY, "Limit each client to this number of queries (this is not exact).", (gptr*) &num_of_query, (gptr*) &num_of_query, 0, |