Debian Codegraph @

mysql-test/suite/sys_vars/t/ft_min_word_len_basic.test

raw
1 #
2 # only global
3 #
4 select @@global.ft_min_word_len;
5 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
6 select @@session.ft_min_word_len;
7 show global variables like 'ft_min_word_len';
8 show session variables like 'ft_min_word_len';
9 --disable_warnings
10 select * from performance_schema.global_variables where variable_name='ft_min_word_len';
11 select * from performance_schema.session_variables where variable_name='ft_min_word_len';
12 --enable_warnings
13
14 #
15 # show that it's read-only
16 #
17 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
18 set global ft_min_word_len=1;
19 --error ER_INCORRECT_GLOBAL_LOCAL_VAR
20 set session ft_min_word_len=1;
21