summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
authorNirbhay Choubey <nirbhay@mariadb.com>2015-08-08 14:21:22 -0400
committerNirbhay Choubey <nirbhay@mariadb.com>2015-08-08 14:21:22 -0400
commit91acc8b16fdd8409765f32b5453851366552a709 (patch)
tree18c04064e9fc127c5e477ec08613aae7baaab2ae /sql/sys_vars.cc
parent4c69dc8116950d6bf0b09bfbc31a86d89831a364 (diff)
parent0403790722e3941779ccea26e85fcd818e2320b5 (diff)
downloadmariadb-git-91acc8b16fdd8409765f32b5453851366552a709.tar.gz
Merge tag 'mariadb-10.0.21' into 10.0-galera
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r--sql/sys_vars.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index e44997f7c51..16e498c2937 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -325,6 +325,14 @@ static Sys_var_long Sys_pfs_digest_size(
DEFAULT(-1),
BLOCK_SIZE(1));
+static Sys_var_long Sys_pfs_max_digest_length(
+ "performance_schema_max_digest_length",
+ "Maximum length considered for digest text, when stored in performance_schema tables.",
+ PARSED_EARLY READ_ONLY GLOBAL_VAR(pfs_param.m_max_digest_length),
+ CMD_LINE(REQUIRED_ARG), VALID_RANGE(0, 1024 * 1024),
+ DEFAULT(1024),
+ BLOCK_SIZE(1));
+
static Sys_var_long Sys_pfs_connect_attrs_size(
"performance_schema_session_connect_attrs_size",
"Size of session attribute string buffer per thread."
@@ -1336,7 +1344,7 @@ static Sys_var_ulong Sys_max_connect_errors(
static Sys_var_long Sys_max_digest_length(
"max_digest_length", "Maximum length considered for digest text.",
- PARSED_EARLY READ_ONLY GLOBAL_VAR(max_digest_length),
+ READ_ONLY GLOBAL_VAR(max_digest_length),
CMD_LINE(REQUIRED_ARG),
VALID_RANGE(0, 1024 * 1024), DEFAULT(1024), BLOCK_SIZE(1));