summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-08-31 09:54:46 +0200
committerSergei Golubchik <serg@mariadb.org>2020-10-23 15:53:41 +0200
commit15f03c204159325c343bd8c793f71edad0be3347 (patch)
tree88a3c7c9bfc20dece61e63ecc24f386ef47ab069 /sql/sys_vars.cc
parent1cabfe2c2b7debfe0a75b30dedf5e5d2bba672e7 (diff)
downloadmariadb-git-15f03c204159325c343bd8c793f71edad0be3347.tar.gz
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
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r--sql/sys_vars.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index af261299496..2a582a098fb 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -323,7 +323,7 @@ static Sys_var_long Sys_pfs_digest_size(
"Size of the statement digest."
" Use 0 to disable, -1 for automated 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),
BLOCK_SIZE(1));