summaryrefslogtreecommitdiff
path: root/mysql-test/suite/sys_vars/r/innodb_ft_server_stopword_table_basic.result
blob: 044e8f80951c8367ac3fe6480fb9f32754a89187 (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
29
30
31
32
SET @start_global_value = @@global.innodb_ft_server_stopword_table;
SELECT @start_global_value;
@start_global_value
NULL
select @@session.innodb_ft_server_stopword_table;
ERROR HY000: Variable 'innodb_ft_server_stopword_table' is a GLOBAL variable
show global variables like 'innodb_ft_server_stopword_table';
Variable_name	Value
innodb_ft_server_stopword_table	
show session variables like 'innodb_ft_server_stopword_table';
Variable_name	Value
innodb_ft_server_stopword_table	
select * from information_schema.global_variables where variable_name='innodb_ft_server_stopword_table';
VARIABLE_NAME	VARIABLE_VALUE
INNODB_FT_SERVER_STOPWORD_TABLE	
select * from information_schema.session_variables where variable_name='innodb_ft_server_stopword_table';
VARIABLE_NAME	VARIABLE_VALUE
INNODB_FT_SERVER_STOPWORD_TABLE	
set session innodb_ft_server_stopword_table='Salmon';
ERROR HY000: Variable 'innodb_ft_server_stopword_table' is a GLOBAL variable and should be set with SET GLOBAL
set @@session.innodb_ft_server_stopword_table='Salmon';
ERROR HY000: Variable 'innodb_ft_server_stopword_table' is a GLOBAL variable and should be set with SET GLOBAL
set global innodb_ft_server_stopword_table=1.1;
ERROR 42000: Incorrect argument type to variable 'innodb_ft_server_stopword_table'
set global innodb_ft_server_stopword_table=1e1;
ERROR 42000: Incorrect argument type to variable 'innodb_ft_server_stopword_table'
set global innodb_ft_server_stopword_table='Salmon';
ERROR 42000: Variable 'innodb_ft_server_stopword_table' can't be set to the value of 'Salmon'
SET @@global.innodb_ft_server_stopword_table = @start_global_value;
SELECT @@global.innodb_ft_server_stopword_table;
@@global.innodb_ft_server_stopword_table
NULL