summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/r/innodb_page_hash_locks_basic.result
blob: e8915387aad2375204867c6703a775f4c213d8ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
select @@global.innodb_page_hash_locks between 1 and 1024;
@@global.innodb_page_hash_locks between 1 and 1024
1
select @@global.innodb_page_hash_locks;
@@global.innodb_page_hash_locks
16
select @@session.innodb_page_hash_locks;
ERROR HY000: Variable 'innodb_page_hash_locks' is a GLOBAL variable
show global variables like 'innodb_page_hash_locks';
Variable_name	Value
innodb_page_hash_locks	16
show session variables like 'innodb_page_hash_locks';
Variable_name	Value
innodb_page_hash_locks	16
select * from information_schema.global_variables where variable_name='innodb_page_hash_locks';
VARIABLE_NAME	VARIABLE_VALUE
INNODB_PAGE_HASH_LOCKS	16
select * from information_schema.session_variables where variable_name='innodb_page_hash_locks';
VARIABLE_NAME	VARIABLE_VALUE
INNODB_PAGE_HASH_LOCKS	16
set global innodb_page_hash_locks=1;
ERROR HY000: Variable 'innodb_page_hash_locks' is a read only variable
set @@session.innodb_page_hash_locks='some';
ERROR HY000: Variable 'innodb_page_hash_locks' is a read only variable