Switch the default histogram_type to still be DOUBLE_PREC_HB

MTR still uses JSON_HB as the default.
This commit is contained in:
Sergei Petrunia 2022-01-19 15:54:38 +03:00
parent 4842a56356
commit f7e49c98e6
4 changed files with 4 additions and 3 deletions

View File

@ -118,6 +118,7 @@ binlog-direct-non-transactional-updates
default-storage-engine=myisam
use_stat_tables=preferably
histogram_type=json_hb
loose-ssl-ca=@ENV.MYSQL_TEST_DIR/std_data/cacert.pem
loose-ssl-cert=@ENV.MYSQL_TEST_DIR/std_data/server-cert.pem

View File

@ -1551,7 +1551,7 @@ gtid-pos-auto-engines
gtid-strict-mode FALSE
help TRUE
histogram-size 254
histogram-type JSON_HB
histogram-type DOUBLE_PREC_HB
host-cache-size 279
idle-readonly-transaction-timeout 0
idle-transaction-timeout 0

View File

@ -10,7 +10,7 @@ SET @@global.histogram_type = 1;
SET @@global.histogram_type = DEFAULT;
SELECT @@global.histogram_type;
@@global.histogram_type
JSON_HB
DOUBLE_PREC_HB
SET @@global.histogram_type = 0;
SELECT @@global.histogram_type;
@@global.histogram_type

View File

@ -6499,7 +6499,7 @@ static Sys_var_enum Sys_histogram_type(
"DOUBLE_PREC_HB - double precision height-balanced, "
"JSON_HB - height-balanced, stored as JSON.",
SESSION_VAR(histogram_type), CMD_LINE(REQUIRED_ARG),
histogram_types, DEFAULT(2));
histogram_types, DEFAULT(1));
static Sys_var_mybool Sys_no_thread_alarm(
"debug_no_thread_alarm",