Commit 15f03c20 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-23492 performance_schema_digests_size changing from default to 5000 when...

MDEV-23492 performance_schema_digests_size changing from default to 5000 when enabling performance_schema

max allowed value limit should be larger than any auto-sized value
parent 1cabfe2c
...@@ -2137,7 +2137,7 @@ VARIABLE_SCOPE GLOBAL ...@@ -2137,7 +2137,7 @@ VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE BIGINT VARIABLE_TYPE BIGINT
VARIABLE_COMMENT Size of the statement digest. Use 0 to disable, -1 for automated sizing. VARIABLE_COMMENT Size of the statement digest. Use 0 to disable, -1 for automated sizing.
NUMERIC_MIN_VALUE -1 NUMERIC_MIN_VALUE -1
NUMERIC_MAX_VALUE 200 NUMERIC_MAX_VALUE 1048576
NUMERIC_BLOCK_SIZE 1 NUMERIC_BLOCK_SIZE 1
ENUM_VALUE_LIST NULL ENUM_VALUE_LIST NULL
READ_ONLY YES READ_ONLY YES
......
...@@ -2277,7 +2277,7 @@ VARIABLE_SCOPE GLOBAL ...@@ -2277,7 +2277,7 @@ VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE BIGINT VARIABLE_TYPE BIGINT
VARIABLE_COMMENT Size of the statement digest. Use 0 to disable, -1 for automated sizing. VARIABLE_COMMENT Size of the statement digest. Use 0 to disable, -1 for automated sizing.
NUMERIC_MIN_VALUE -1 NUMERIC_MIN_VALUE -1
NUMERIC_MAX_VALUE 200 NUMERIC_MAX_VALUE 1048576
NUMERIC_BLOCK_SIZE 1 NUMERIC_BLOCK_SIZE 1
ENUM_VALUE_LIST NULL ENUM_VALUE_LIST NULL
READ_ONLY YES READ_ONLY YES
......
...@@ -323,7 +323,7 @@ static Sys_var_long Sys_pfs_digest_size( ...@@ -323,7 +323,7 @@ static Sys_var_long Sys_pfs_digest_size(
"Size of the statement digest." "Size of the statement digest."
" Use 0 to disable, -1 for automated sizing.", " Use 0 to disable, -1 for automated sizing.",
PARSED_EARLY READ_ONLY GLOBAL_VAR(pfs_param.m_digest_sizing), PARSED_EARLY READ_ONLY GLOBAL_VAR(pfs_param.m_digest_sizing),
CMD_LINE(REQUIRED_ARG), VALID_RANGE(-1, 200), CMD_LINE(REQUIRED_ARG), VALID_RANGE(-1, 1024 * 1024),
DEFAULT(-1), DEFAULT(-1),
BLOCK_SIZE(1)); BLOCK_SIZE(1));
......
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