| 1 |
# |
| 2 |
# show the global and session values; |
| 3 |
# |
| 4 |
select @@global.large_pages; |
| 5 |
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 6 |
select @@session.large_pages; |
| 7 |
show global variables like 'large_pages'; |
| 8 |
show session variables like 'large_pages'; |
| 9 |
--disable_warnings |
| 10 |
select * from performance_schema.global_variables where variable_name='large_pages'; |
| 11 |
select * from performance_schema.session_variables where variable_name='large_pages'; |
| 12 |
--enable_warnings |
| 13 |
|
| 14 |
# |
| 15 |
# show that it's read-only |
| 16 |
# |
| 17 |
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 18 |
set global large_pages=1; |
| 19 |
--error ER_INCORRECT_GLOBAL_LOCAL_VAR |
| 20 |
set session large_pages=1; |
| 21 |
|