#
# only global
#
select @@global.large_page_size = 1;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.large_page_size;
--replace_column 2 #
show global variables like 'large_page_size';
--replace_column 2 #
show session variables like 'large_page_size';
--replace_column 2 #
select * from information_schema.global_variables where variable_name='large_page_size';
--replace_column 2 #
select * from information_schema.session_variables where variable_name='large_page_size';

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

