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