mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-11945: Fix description for "max_statement_time" in --help
max_statement_time also applies to non-SELECT queries.
This commit is contained in:
parent
aa9db4c162
commit
cd8482c19e
4 changed files with 8 additions and 8 deletions
|
@ -467,10 +467,10 @@ The following options may be given as the first argument:
|
|||
--max-sp-recursion-depth[=#]
|
||||
Maximum stored procedure recursion depth
|
||||
--max-statement-time=#
|
||||
A SELECT query that have taken more than
|
||||
max_statement_time seconds will be aborted. The argument
|
||||
will be treated as a decimal value with microsecond
|
||||
precision. A value of 0 (default) means no timeout
|
||||
A query that has taken more than max_statement_time
|
||||
seconds will be aborted. The argument will be treated as
|
||||
a decimal value with microsecond precision. A value of 0
|
||||
(default) means no timeout
|
||||
--max-tmp-tables=# Unused, will be removed.
|
||||
--max-user-connections=#
|
||||
The maximum number of active connections for a single
|
||||
|
|
|
@ -2046,7 +2046,7 @@ GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
|||
DEFAULT_VALUE 0.000000
|
||||
VARIABLE_SCOPE SESSION
|
||||
VARIABLE_TYPE DOUBLE
|
||||
VARIABLE_COMMENT A SELECT query that have taken more than max_statement_time seconds will be aborted. The argument will be treated as a decimal value with microsecond precision. A value of 0 (default) means no timeout
|
||||
VARIABLE_COMMENT A query that has taken more than max_statement_time seconds will be aborted. The argument will be treated as a decimal value with microsecond precision. A value of 0 (default) means no timeout
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 31536000
|
||||
NUMERIC_BLOCK_SIZE NULL
|
||||
|
|
|
@ -2242,7 +2242,7 @@ GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
|||
DEFAULT_VALUE 0.000000
|
||||
VARIABLE_SCOPE SESSION
|
||||
VARIABLE_TYPE DOUBLE
|
||||
VARIABLE_COMMENT A SELECT query that have taken more than max_statement_time seconds will be aborted. The argument will be treated as a decimal value with microsecond precision. A value of 0 (default) means no timeout
|
||||
VARIABLE_COMMENT A query that has taken more than max_statement_time seconds will be aborted. The argument will be treated as a decimal value with microsecond precision. A value of 0 (default) means no timeout
|
||||
NUMERIC_MIN_VALUE 0
|
||||
NUMERIC_MAX_VALUE 31536000
|
||||
NUMERIC_BLOCK_SIZE NULL
|
||||
|
|
|
@ -1242,9 +1242,9 @@ static bool update_cached_max_statement_time(sys_var *self, THD *thd,
|
|||
|
||||
static Sys_var_double Sys_max_statement_time(
|
||||
"max_statement_time",
|
||||
"A SELECT query that have taken more than max_statement_time seconds "
|
||||
"A query that has taken more than max_statement_time seconds "
|
||||
"will be aborted. The argument will be treated as a decimal value "
|
||||
"with microsecond precision. A value of 0 (default) means no timeout",
|
||||
"with microsecond precision. A value of 0 (default) means no timeout",
|
||||
SESSION_VAR(max_statement_time_double),
|
||||
CMD_LINE(REQUIRED_ARG), VALID_RANGE(0, LONG_TIMEOUT), DEFAULT(0),
|
||||
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0),
|
||||
|
|
Loading…
Reference in a new issue