Commit 157f2b25 authored by Monty's avatar Monty

Updated help message for long_query_time

parent b2580801
...@@ -418,8 +418,9 @@ The following options may be given as the first argument: ...@@ -418,8 +418,9 @@ The following options may be given as the first argument:
file.Value can be between 0 and 11. Higher values mean file.Value can be between 0 and 11. Higher values mean
more verbosity more verbosity
--long-query-time=# Log all queries that have taken more than long_query_time --long-query-time=# Log all queries that have taken more than long_query_time
seconds to execute to file. The argument will be treated seconds to execute to the slow query log file. The
as a decimal value with microsecond precision argument will be treated as a decimal value with
microsecond precision
--low-priority-updates --low-priority-updates
INSERT/DELETE/UPDATE has lower priority than selects INSERT/DELETE/UPDATE has lower priority than selects
--lower-case-table-names[=#] --lower-case-table-names[=#]
......
...@@ -1794,7 +1794,7 @@ GLOBAL_VALUE_ORIGIN COMPILE-TIME ...@@ -1794,7 +1794,7 @@ GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE 10.000000 DEFAULT_VALUE 10.000000
VARIABLE_SCOPE SESSION VARIABLE_SCOPE SESSION
VARIABLE_TYPE DOUBLE VARIABLE_TYPE DOUBLE
VARIABLE_COMMENT Log all queries that have taken more than long_query_time seconds to execute to file. The argument will be treated as a decimal value with microsecond precision VARIABLE_COMMENT Log all queries that have taken more than long_query_time seconds to execute to the slow query log file. The argument will be treated as a decimal value with microsecond precision
NUMERIC_MIN_VALUE 0 NUMERIC_MIN_VALUE 0
NUMERIC_MAX_VALUE 31536000 NUMERIC_MAX_VALUE 31536000
NUMERIC_BLOCK_SIZE NULL NUMERIC_BLOCK_SIZE NULL
......
...@@ -1962,7 +1962,7 @@ GLOBAL_VALUE_ORIGIN COMPILE-TIME ...@@ -1962,7 +1962,7 @@ GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE 10.000000 DEFAULT_VALUE 10.000000
VARIABLE_SCOPE SESSION VARIABLE_SCOPE SESSION
VARIABLE_TYPE DOUBLE VARIABLE_TYPE DOUBLE
VARIABLE_COMMENT Log all queries that have taken more than long_query_time seconds to execute to file. The argument will be treated as a decimal value with microsecond precision VARIABLE_COMMENT Log all queries that have taken more than long_query_time seconds to execute to the slow query log file. The argument will be treated as a decimal value with microsecond precision
NUMERIC_MIN_VALUE 0 NUMERIC_MIN_VALUE 0
NUMERIC_MAX_VALUE 31536000 NUMERIC_MAX_VALUE 31536000
NUMERIC_BLOCK_SIZE NULL NUMERIC_BLOCK_SIZE NULL
......
...@@ -1255,8 +1255,8 @@ static bool update_cached_long_query_time(sys_var *self, THD *thd, ...@@ -1255,8 +1255,8 @@ static bool update_cached_long_query_time(sys_var *self, THD *thd,
static Sys_var_double Sys_long_query_time( static Sys_var_double Sys_long_query_time(
"long_query_time", "long_query_time",
"Log all queries that have taken more than long_query_time seconds " "Log all queries that have taken more than long_query_time seconds "
"to execute to file. The argument will be treated as a decimal value " "to execute to the slow query log file. The argument will be treated "
"with microsecond precision", "as a decimal value with microsecond precision",
SESSION_VAR(long_query_time_double), SESSION_VAR(long_query_time_double),
CMD_LINE(REQUIRED_ARG), VALID_RANGE(0, LONG_TIMEOUT), DEFAULT(10), CMD_LINE(REQUIRED_ARG), VALID_RANGE(0, LONG_TIMEOUT), DEFAULT(10),
NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0), NO_MUTEX_GUARD, NOT_IN_BINLOG, ON_CHECK(0),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment