Merge branch '1.0'
This commit is contained in:
@ -77,7 +77,13 @@ static int db_free_results_int(db_conn_t *con);
|
||||
static sb_arg_t db_args[] =
|
||||
{
|
||||
SB_OPT("db-driver", "specifies database driver to use "
|
||||
"('help' to get list of available drivers)", NULL, STRING),
|
||||
"('help' to get list of available drivers)",
|
||||
#ifdef USE_MYSQL
|
||||
"mysql",
|
||||
#else
|
||||
NULL,
|
||||
#endif
|
||||
STRING),
|
||||
SB_OPT("db-ps-mode", "prepared statements usage mode {auto, disable}", "auto",
|
||||
STRING),
|
||||
SB_OPT("db-debug", "print database-specific debug information", "off", BOOL),
|
||||
|
||||
@ -5,6 +5,9 @@ Skip test if the MySQL driver is not available.
|
||||
> exit 80
|
||||
> fi
|
||||
|
||||
$ sysbench --help | grep -- '--db-driver'
|
||||
--db-driver=STRING specifies database driver to use ('help' to get list of available drivers) [mysql]
|
||||
|
||||
$ sysbench --help | sed -n '/mysql options:/,/^$/p'
|
||||
mysql options:
|
||||
--mysql-host=[LIST,...] MySQL server host [localhost]
|
||||
|
||||
@ -50,7 +50,7 @@ separately.
|
||||
|
||||
General database options:
|
||||
|
||||
--db-driver=STRING specifies database driver to use ('help' to get list of available drivers)
|
||||
--db-driver=STRING specifies database driver to use \('help' to get list of available drivers\)( \[mysql\])? (re)
|
||||
--db-ps-mode=STRING prepared statements usage mode {auto, disable} [auto]
|
||||
--db-debug[=on|off] print database-specific debug information [off]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user