Commit d645025e authored by Monty's avatar Monty Committed by Sergei Petrunia

Change default of histogram_type to JSON_HB

parent 98879f8d
...@@ -1632,7 +1632,7 @@ gtid-pos-auto-engines ...@@ -1632,7 +1632,7 @@ gtid-pos-auto-engines
gtid-strict-mode FALSE gtid-strict-mode FALSE
help TRUE help TRUE
histogram-size 254 histogram-size 254
histogram-type DOUBLE_PREC_HB histogram-type JSON_HB
host-cache-size 279 host-cache-size 279
idle-readonly-transaction-timeout 0 idle-readonly-transaction-timeout 0
idle-transaction-timeout 0 idle-transaction-timeout 0
......
...@@ -10,7 +10,7 @@ SET @@global.histogram_type = 1; ...@@ -10,7 +10,7 @@ SET @@global.histogram_type = 1;
SET @@global.histogram_type = DEFAULT; SET @@global.histogram_type = DEFAULT;
SELECT @@global.histogram_type; SELECT @@global.histogram_type;
@@global.histogram_type @@global.histogram_type
DOUBLE_PREC_HB JSON_HB
SET @@global.histogram_type = 0; SET @@global.histogram_type = 0;
SELECT @@global.histogram_type; SELECT @@global.histogram_type;
@@global.histogram_type @@global.histogram_type
......
...@@ -6670,7 +6670,7 @@ static Sys_var_enum Sys_histogram_type( ...@@ -6670,7 +6670,7 @@ static Sys_var_enum Sys_histogram_type(
"DOUBLE_PREC_HB - double precision height-balanced, " "DOUBLE_PREC_HB - double precision height-balanced, "
"JSON_HB - height-balanced, stored as JSON.", "JSON_HB - height-balanced, stored as JSON.",
SESSION_VAR(histogram_type), CMD_LINE(REQUIRED_ARG), SESSION_VAR(histogram_type), CMD_LINE(REQUIRED_ARG),
histogram_types, DEFAULT(1)); histogram_types, DEFAULT(2));
static Sys_var_mybool Sys_no_thread_alarm( static Sys_var_mybool Sys_no_thread_alarm(
"debug_no_thread_alarm", "debug_no_thread_alarm",
......
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