File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
mysql-test/suite/sys_vars/r Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,21 +3,21 @@ select @@global.innodb_page_hash_locks between 1 and 1024;
3
3
1
4
4
select @@global.innodb_page_hash_locks;
5
5
@@global.innodb_page_hash_locks
6
- 16
6
+ 64
7
7
select @@session.innodb_page_hash_locks;
8
8
ERROR HY000: Variable 'innodb_page_hash_locks' is a GLOBAL variable
9
9
show global variables like 'innodb_page_hash_locks';
10
10
Variable_name Value
11
- innodb_page_hash_locks 16
11
+ innodb_page_hash_locks 64
12
12
show session variables like 'innodb_page_hash_locks';
13
13
Variable_name Value
14
- innodb_page_hash_locks 16
14
+ innodb_page_hash_locks 64
15
15
select * from information_schema.global_variables where variable_name='innodb_page_hash_locks';
16
16
VARIABLE_NAME VARIABLE_VALUE
17
- INNODB_PAGE_HASH_LOCKS 16
17
+ INNODB_PAGE_HASH_LOCKS 64
18
18
select * from information_schema.session_variables where variable_name='innodb_page_hash_locks';
19
19
VARIABLE_NAME VARIABLE_VALUE
20
- INNODB_PAGE_HASH_LOCKS 16
20
+ INNODB_PAGE_HASH_LOCKS 64
21
21
set global innodb_page_hash_locks=1;
22
22
ERROR HY000: Variable 'innodb_page_hash_locks' is a read only variable
23
23
set @@session.innodb_page_hash_locks='some';
Original file line number Diff line number Diff line change @@ -1511,7 +1511,7 @@ READ_ONLY NO
1511
1511
COMMAND_LINE_ARGUMENT OPTIONAL
1512
1512
VARIABLE_NAME INNODB_PAGE_HASH_LOCKS
1513
1513
SESSION_VALUE NULL
1514
- DEFAULT_VALUE 16
1514
+ DEFAULT_VALUE 64
1515
1515
VARIABLE_SCOPE GLOBAL
1516
1516
VARIABLE_TYPE BIGINT UNSIGNED
1517
1517
VARIABLE_COMMENT Number of rw_locks protecting buffer pool page_hash. Rounded up to the next power of 2
You can’t perform that action at this time.
0 commit comments