Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f7e49c98
Commit
f7e49c98
authored
Jan 19, 2022
by
Sergei Petrunia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch the default histogram_type to still be DOUBLE_PREC_HB
MTR still uses JSON_HB as the default.
parent
4842a563
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
mysql-test/include/default_mysqld.cnf
mysql-test/include/default_mysqld.cnf
+1
-0
mysql-test/main/mysqld--help.result
mysql-test/main/mysqld--help.result
+1
-1
mysql-test/suite/sys_vars/r/histogram_type_basic.result
mysql-test/suite/sys_vars/r/histogram_type_basic.result
+1
-1
sql/sys_vars.cc
sql/sys_vars.cc
+1
-1
No files found.
mysql-test/include/default_mysqld.cnf
View file @
f7e49c98
...
...
@@ -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
...
...
mysql-test/main/mysqld--help.result
View file @
f7e49c98
...
...
@@ -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
...
...
mysql-test/suite/sys_vars/r/histogram_type_basic.result
View file @
f7e49c98
...
...
@@ -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
...
...
sql/sys_vars.cc
View file @
f7e49c98
...
...
@@ -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"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment