summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/t/innodb_ft_cache_size_basic.test
blob: 30bcd08d4dda6d2d126e4922ad995c6802e876d2 (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
25
26
27
28

#
#  2011-11-17 - Added 
#

--source include/have_innodb.inc

#
# show the global and session values;
#
select @@global.innodb_ft_cache_size;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.innodb_ft_cache_size;
show global variables like 'innodb_ft_cache_size';
show session variables like 'innodb_ft_cache_size';
--disable_warnings
select * from information_schema.global_variables where variable_name='innodb_ft_cache_size';
select * from information_schema.session_variables where variable_name='innodb_ft_cache_size';
--enable_warnings

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