SET @start_value = @@GLOBAL.innodb_cleaner_free_list_lwm;
SELECT @@GLOBAL.innodb_cleaner_free_list_lwm;
@@GLOBAL.innodb_cleaner_free_list_lwm
10
SELECT @@SESSION.innodb_cleaner_free_list_lwm;
ERROR HY000: Variable 'innodb_cleaner_free_list_lwm' is a GLOBAL variable
SET GLOBAL innodb_cleaner_free_list_lwm=0;
SELECT @@GLOBAL.innodb_cleaner_free_list_lwm;
@@GLOBAL.innodb_cleaner_free_list_lwm
0
SET GLOBAL innodb_cleaner_free_list_lwm=1;
SELECT @@GLOBAL.innodb_cleaner_free_list_lwm;
@@GLOBAL.innodb_cleaner_free_list_lwm
1
SET GLOBAL innodb_cleaner_free_list_lwm=99;
SELECT @@GLOBAL.innodb_cleaner_free_list_lwm;
@@GLOBAL.innodb_cleaner_free_list_lwm
99
SET GLOBAL innodb_cleaner_free_list_lwm=100;
SELECT @@GLOBAL.innodb_cleaner_free_list_lwm;
@@GLOBAL.innodb_cleaner_free_list_lwm
100
SET GLOBAL innodb_cleaner_free_list_lwm=101;
Warnings:
Warning	1292	Truncated incorrect innodb_cleaner_free_list_lwm value: '101'
SELECT @@innodb_cleaner_free_list_lwm;
@@innodb_cleaner_free_list_lwm
100
SET GLOBAL innodb_cleaner_free_list_lwm=1.1;
ERROR 42000: Incorrect argument type to variable 'innodb_cleaner_free_list_lwm'
SET GLOBAL innodb_cleaner_free_list_lwm=1e1;
ERROR 42000: Incorrect argument type to variable 'innodb_cleaner_free_list_lwm'
SET GLOBAL innodb_cleaner_free_list_lwm='foo';
ERROR 42000: Incorrect argument type to variable 'innodb_cleaner_free_list_lwm'
SET GLOBAL innodb_cleaner_free_list_lwm = @start_value;
