6
--source include/have_innodb.inc
8
SET @start_global_value = @@global.innodb_ft_server_stopword_table;
9
SELECT @start_global_value;
12
# exists as global only
14
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
15
select @@session.innodb_ft_server_stopword_table;
16
show global variables like 'innodb_ft_server_stopword_table';
17
show session variables like 'innodb_ft_server_stopword_table';
18
select * from information_schema.global_variables where variable_name='innodb_ft_server_stopword_table';
19
select * from information_schema.session_variables where variable_name='innodb_ft_server_stopword_table';
21
--error ER_GLOBAL_VARIABLE
22
set session innodb_ft_server_stopword_table='Salmon';
23
--error ER_GLOBAL_VARIABLE
24
set @@session.innodb_ft_server_stopword_table='Salmon';
29
--error ER_WRONG_TYPE_FOR_VAR
30
set global innodb_ft_server_stopword_table=1.1;
31
--error ER_WRONG_TYPE_FOR_VAR
32
set global innodb_ft_server_stopword_table=1e1;
33
--error ER_WRONG_VALUE_FOR_VAR
34
set global innodb_ft_server_stopword_table='Salmon';
40
SET @@global.innodb_ft_server_stopword_table = @start_global_value;
41
SELECT @@global.innodb_ft_server_stopword_table;