SET @start_value = @@GLOBAL.innodb_sched_priority_purge;
SELECT @@GLOBAL.innodb_sched_priority_purge;
@@GLOBAL.innodb_sched_priority_purge
19
SELECT @@SESSION.innodb_sched_priority_purge;
ERROR HY000: Variable 'innodb_sched_priority_purge' is a GLOBAL variable
SET GLOBAL innodb_sched_priority_purge=19;
SELECT @@GLOBAL.innodb_sched_priority_purge;
@@GLOBAL.innodb_sched_priority_purge
19
SET GLOBAL innodb_sched_priority_purge=5;
SELECT @@GLOBAL.innodb_sched_priority_purge;
@@GLOBAL.innodb_sched_priority_purge
5
SET GLOBAL innodb_sched_priority_purge=0;
SELECT @@GLOBAL.innodb_sched_priority_purge;
@@GLOBAL.innodb_sched_priority_purge
0
SET GLOBAL innodb_sched_priority_purge=-1;
Warnings:
Warning	1292	Truncated incorrect innodb_sched_priority_purge value: '-1'
SELECT @@GLOBAL.innodb_sched_priority_purge;
@@GLOBAL.innodb_sched_priority_purge
0
SET GLOBAL innodb_sched_priority_purge=1.1;
ERROR 42000: Incorrect argument type to variable 'innodb_sched_priority_purge'
SET GLOBAL innodb_sched_priority_purge=1e1;
ERROR 42000: Incorrect argument type to variable 'innodb_sched_priority_purge'
SET GLOBAL innodb_sched_priority_purge='foo';
ERROR 42000: Incorrect argument type to variable 'innodb_sched_priority_purge'
# restart
