Skip to content

Commit 59762ac

Browse files
committed
MDEV-15053: Adjust results for innodb_page_hash_locks=64
This should have been part of commit 70d4e55.
1 parent e76ca24 commit 59762ac

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

mysql-test/suite/sys_vars/r/innodb_page_hash_locks_basic.result

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@ select @@global.innodb_page_hash_locks between 1 and 1024;
33
1
44
select @@global.innodb_page_hash_locks;
55
@@global.innodb_page_hash_locks
6-
16
6+
64
77
select @@session.innodb_page_hash_locks;
88
ERROR HY000: Variable 'innodb_page_hash_locks' is a GLOBAL variable
99
show global variables like 'innodb_page_hash_locks';
1010
Variable_name Value
11-
innodb_page_hash_locks 16
11+
innodb_page_hash_locks 64
1212
show session variables like 'innodb_page_hash_locks';
1313
Variable_name Value
14-
innodb_page_hash_locks 16
14+
innodb_page_hash_locks 64
1515
select * from information_schema.global_variables where variable_name='innodb_page_hash_locks';
1616
VARIABLE_NAME VARIABLE_VALUE
17-
INNODB_PAGE_HASH_LOCKS 16
17+
INNODB_PAGE_HASH_LOCKS 64
1818
select * from information_schema.session_variables where variable_name='innodb_page_hash_locks';
1919
VARIABLE_NAME VARIABLE_VALUE
20-
INNODB_PAGE_HASH_LOCKS 16
20+
INNODB_PAGE_HASH_LOCKS 64
2121
set global innodb_page_hash_locks=1;
2222
ERROR HY000: Variable 'innodb_page_hash_locks' is a read only variable
2323
set @@session.innodb_page_hash_locks='some';

mysql-test/suite/sys_vars/r/sysvars_innodb.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1511,7 +1511,7 @@ READ_ONLY NO
15111511
COMMAND_LINE_ARGUMENT OPTIONAL
15121512
VARIABLE_NAME INNODB_PAGE_HASH_LOCKS
15131513
SESSION_VALUE NULL
1514-
DEFAULT_VALUE 16
1514+
DEFAULT_VALUE 64
15151515
VARIABLE_SCOPE GLOBAL
15161516
VARIABLE_TYPE BIGINT UNSIGNED
15171517
VARIABLE_COMMENT Number of rw_locks protecting buffer pool page_hash. Rounded up to the next power of 2

0 commit comments

Comments
 (0)