summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/t/large_pages_basic.test
blob: 840b9176832e09ab2a26d786efc3508b7284f358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# show the global and session values;
#
select @@global.large_pages;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.large_pages;
show global variables like 'large_pages';
show session variables like 'large_pages';
select * from information_schema.global_variables where variable_name='large_pages';
select * from information_schema.session_variables where variable_name='large_pages';

#
# show that it's read-only
#
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set global large_pages=1;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set session large_pages=1;