
#
#  2011-11-17 - Added 
#

--source include/have_innodb.inc

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

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

