1SET @start_global_value = @@global.innodb_trx_purge_view_update_only_debug; 2SELECT @start_global_value; 3@start_global_value 40 5select @@global.innodb_trx_purge_view_update_only_debug in (0, 1); 6@@global.innodb_trx_purge_view_update_only_debug in (0, 1) 71 8select @@global.innodb_trx_purge_view_update_only_debug; 9@@global.innodb_trx_purge_view_update_only_debug 100 11select @@session.innodb_trx_purge_view_update_only_debug; 12ERROR HY000: Variable 'innodb_trx_purge_view_update_only_debug' is a GLOBAL variable 13show global variables like 'innodb_trx_purge_view_update_only_debug'; 14Variable_name Value 15innodb_trx_purge_view_update_only_debug OFF 16show session variables like 'innodb_trx_purge_view_update_only_debug'; 17Variable_name Value 18innodb_trx_purge_view_update_only_debug OFF 19select * from information_schema.global_variables where variable_name='innodb_trx_purge_view_update_only_debug'; 20VARIABLE_NAME VARIABLE_VALUE 21INNODB_TRX_PURGE_VIEW_UPDATE_ONLY_DEBUG OFF 22select * from information_schema.session_variables where variable_name='innodb_trx_purge_view_update_only_debug'; 23VARIABLE_NAME VARIABLE_VALUE 24INNODB_TRX_PURGE_VIEW_UPDATE_ONLY_DEBUG OFF 25set global innodb_trx_purge_view_update_only_debug=1; 26select @@global.innodb_trx_purge_view_update_only_debug; 27@@global.innodb_trx_purge_view_update_only_debug 281 29select * from information_schema.global_variables where variable_name='innodb_trx_purge_view_update_only_debug'; 30VARIABLE_NAME VARIABLE_VALUE 31INNODB_TRX_PURGE_VIEW_UPDATE_ONLY_DEBUG ON 32select * from information_schema.session_variables where variable_name='innodb_trx_purge_view_update_only_debug'; 33VARIABLE_NAME VARIABLE_VALUE 34INNODB_TRX_PURGE_VIEW_UPDATE_ONLY_DEBUG ON 35set @@global.innodb_trx_purge_view_update_only_debug=0; 36select @@global.innodb_trx_purge_view_update_only_debug; 37@@global.innodb_trx_purge_view_update_only_debug 380 39select * from information_schema.global_variables where variable_name='innodb_trx_purge_view_update_only_debug'; 40VARIABLE_NAME VARIABLE_VALUE 41INNODB_TRX_PURGE_VIEW_UPDATE_ONLY_DEBUG OFF 42select * from information_schema.session_variables where variable_name='innodb_trx_purge_view_update_only_debug'; 43VARIABLE_NAME VARIABLE_VALUE 44INNODB_TRX_PURGE_VIEW_UPDATE_ONLY_DEBUG OFF 45set session innodb_trx_purge_view_update_only_debug='some'; 46ERROR HY000: Variable 'innodb_trx_purge_view_update_only_debug' is a GLOBAL variable and should be set with SET GLOBAL 47set @@session.innodb_trx_purge_view_update_only_debug='some'; 48ERROR HY000: Variable 'innodb_trx_purge_view_update_only_debug' is a GLOBAL variable and should be set with SET GLOBAL 49set global innodb_trx_purge_view_update_only_debug=1.1; 50ERROR 42000: Incorrect argument type to variable 'innodb_trx_purge_view_update_only_debug' 51set global innodb_trx_purge_view_update_only_debug='foo'; 52ERROR 42000: Variable 'innodb_trx_purge_view_update_only_debug' can't be set to the value of 'foo' 53set global innodb_trx_purge_view_update_only_debug=-2; 54ERROR 42000: Variable 'innodb_trx_purge_view_update_only_debug' can't be set to the value of '-2' 55set global innodb_trx_purge_view_update_only_debug=1e1; 56ERROR 42000: Incorrect argument type to variable 'innodb_trx_purge_view_update_only_debug' 57set global innodb_trx_purge_view_update_only_debug=2; 58ERROR 42000: Variable 'innodb_trx_purge_view_update_only_debug' can't be set to the value of '2' 59SET @@global.innodb_trx_purge_view_update_only_debug = @start_global_value; 60SELECT @@global.innodb_trx_purge_view_update_only_debug; 61@@global.innodb_trx_purge_view_update_only_debug 620 63