summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/t/maria_block_size_basic.test
blob: 5acfcab539a093741db529006033d0886298d07e (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
# ulong readonly

--source include/have_maria.inc
#
# show the global and session values;
#
select @@global.maria_block_size, @@global.aria_block_size;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.maria_block_size, @@session.aria_block_size;
show global variables like '%aria_block_size';
show session variables like '%aria_block_size';
--sorted_result
select * from information_schema.global_variables where variable_name like '%aria_block_size';
--sorted_result
select * from information_schema.session_variables where variable_name like '%aria_block_size';

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