SET @start_global_value = @@global.innodb_change_buffering_debug; SELECT @start_global_value; @start_global_value 0 select @@global.innodb_change_buffering_debug in (0, 1); @@global.innodb_change_buffering_debug in (0, 1) 1 select @@global.innodb_change_buffering_debug; @@global.innodb_change_buffering_debug 0 select @@session.innodb_change_buffering_debug; ERROR HY000: Variable 'innodb_change_buffering_debug' is a GLOBAL variable show global variables like 'innodb_change_buffering_debug'; Variable_name Value innodb_change_buffering_debug 0 show session variables like 'innodb_change_buffering_debug'; Variable_name Value innodb_change_buffering_debug 0 select * from information_schema.global_variables where variable_name='innodb_change_buffering_debug'; VARIABLE_NAME VARIABLE_VALUE INNODB_CHANGE_BUFFERING_DEBUG 0 select * from information_schema.session_variables where variable_name='innodb_change_buffering_debug'; VARIABLE_NAME VARIABLE_VALUE INNODB_CHANGE_BUFFERING_DEBUG 0 set global innodb_change_buffering_debug=1; select @@global.innodb_change_buffering_debug; @@global.innodb_change_buffering_debug 1 select * from information_schema.global_variables where variable_name='innodb_change_buffering_debug'; VARIABLE_NAME VARIABLE_VALUE INNODB_CHANGE_BUFFERING_DEBUG 1 select * from information_schema.session_variables where variable_name='innodb_change_buffering_debug'; VARIABLE_NAME VARIABLE_VALUE INNODB_CHANGE_BUFFERING_DEBUG 1 set @@global.innodb_change_buffering_debug=0; select @@global.innodb_change_buffering_debug; @@global.innodb_change_buffering_debug 0 select * from information_schema.global_variables where variable_name='innodb_change_buffering_debug'; VARIABLE_NAME VARIABLE_VALUE INNODB_CHANGE_BUFFERING_DEBUG 0 select * from information_schema.session_variables where variable_name='innodb_change_buffering_debug'; VARIABLE_NAME VARIABLE_VALUE INNODB_CHANGE_BUFFERING_DEBUG 0 set session innodb_change_buffering_debug='some'; ERROR HY000: Variable 'innodb_change_buffering_debug' is a GLOBAL variable and should be set with SET GLOBAL set @@session.innodb_change_buffering_debug='some'; ERROR HY000: Variable 'innodb_change_buffering_debug' is a GLOBAL variable and should be set with SET GLOBAL set global innodb_change_buffering_debug=1.1; ERROR 42000: Incorrect argument type to variable 'innodb_change_buffering_debug' set global innodb_change_buffering_debug='foo'; ERROR 42000: Incorrect argument type to variable 'innodb_change_buffering_debug' set global innodb_change_buffering_debug=-2; Warnings: Warning 1292 Truncated incorrect innodb_change_buffering_debug value: '-2' set global innodb_change_buffering_debug=1e1; ERROR 42000: Incorrect argument type to variable 'innodb_change_buffering_debug' SET @@global.innodb_change_buffering_debug = @start_global_value; SELECT @@global.innodb_change_buffering_debug; @@global.innodb_change_buffering_debug 0