Commit 59762ac4 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-15053: Adjust results for innodb_page_hash_locks=64

This should have been part of
commit 70d4e55d.
parent e76ca24b
...@@ -3,21 +3,21 @@ select @@global.innodb_page_hash_locks between 1 and 1024; ...@@ -3,21 +3,21 @@ select @@global.innodb_page_hash_locks between 1 and 1024;
1 1
select @@global.innodb_page_hash_locks; select @@global.innodb_page_hash_locks;
@@global.innodb_page_hash_locks @@global.innodb_page_hash_locks
16 64
select @@session.innodb_page_hash_locks; select @@session.innodb_page_hash_locks;
ERROR HY000: Variable 'innodb_page_hash_locks' is a GLOBAL variable ERROR HY000: Variable 'innodb_page_hash_locks' is a GLOBAL variable
show global variables like 'innodb_page_hash_locks'; show global variables like 'innodb_page_hash_locks';
Variable_name Value Variable_name Value
innodb_page_hash_locks 16 innodb_page_hash_locks 64
show session variables like 'innodb_page_hash_locks'; show session variables like 'innodb_page_hash_locks';
Variable_name Value Variable_name Value
innodb_page_hash_locks 16 innodb_page_hash_locks 64
select * from information_schema.global_variables where variable_name='innodb_page_hash_locks'; select * from information_schema.global_variables where variable_name='innodb_page_hash_locks';
VARIABLE_NAME VARIABLE_VALUE VARIABLE_NAME VARIABLE_VALUE
INNODB_PAGE_HASH_LOCKS 16 INNODB_PAGE_HASH_LOCKS 64
select * from information_schema.session_variables where variable_name='innodb_page_hash_locks'; select * from information_schema.session_variables where variable_name='innodb_page_hash_locks';
VARIABLE_NAME VARIABLE_VALUE VARIABLE_NAME VARIABLE_VALUE
INNODB_PAGE_HASH_LOCKS 16 INNODB_PAGE_HASH_LOCKS 64
set global innodb_page_hash_locks=1; set global innodb_page_hash_locks=1;
ERROR HY000: Variable 'innodb_page_hash_locks' is a read only variable ERROR HY000: Variable 'innodb_page_hash_locks' is a read only variable
set @@session.innodb_page_hash_locks='some'; set @@session.innodb_page_hash_locks='some';
......
...@@ -1511,7 +1511,7 @@ READ_ONLY NO ...@@ -1511,7 +1511,7 @@ READ_ONLY NO
COMMAND_LINE_ARGUMENT OPTIONAL COMMAND_LINE_ARGUMENT OPTIONAL
VARIABLE_NAME INNODB_PAGE_HASH_LOCKS VARIABLE_NAME INNODB_PAGE_HASH_LOCKS
SESSION_VALUE NULL SESSION_VALUE NULL
DEFAULT_VALUE 16 DEFAULT_VALUE 64
VARIABLE_SCOPE GLOBAL VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE BIGINT UNSIGNED VARIABLE_TYPE BIGINT UNSIGNED
VARIABLE_COMMENT Number of rw_locks protecting buffer pool page_hash. Rounded up to the next power of 2 VARIABLE_COMMENT Number of rw_locks protecting buffer pool page_hash. Rounded up to the next power of 2
......
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