SELECT @@GLOBAL.innodb_doublewrite; @@GLOBAL.innodb_doublewrite ON SET @@GLOBAL.innodb_doublewrite=0; SELECT @@GLOBAL.innodb_doublewrite; @@GLOBAL.innodb_doublewrite OFF SET @@GLOBAL.innodb_doublewrite=2; SET @@GLOBAL.innodb_doublewrite=3; ERROR 42000: Variable 'innodb_doublewrite' can't be set to the value of '3' SELECT @@GLOBAL.innodb_doublewrite; @@GLOBAL.innodb_doublewrite fast SET @@GLOBAL.innodb_doublewrite=1; SELECT @@GLOBAL.innodb_doublewrite; @@GLOBAL.innodb_doublewrite ON SELECT COUNT(VARIABLE_VALUE) FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='innodb_doublewrite'; COUNT(VARIABLE_VALUE) 1 '#---------------------BS_STVARS_026_04----------------------#' SELECT @@innodb_doublewrite = @@GLOBAL.innodb_doublewrite; @@innodb_doublewrite = @@GLOBAL.innodb_doublewrite 1 1 Expected '#---------------------BS_STVARS_026_05----------------------#' SELECT COUNT(@@innodb_doublewrite); COUNT(@@innodb_doublewrite) 1 1 Expected SELECT COUNT(@@local.innodb_doublewrite); ERROR HY000: Variable 'innodb_doublewrite' is a GLOBAL variable Expected error 'Variable is a GLOBAL variable' SELECT COUNT(@@SESSION.innodb_doublewrite); ERROR HY000: Variable 'innodb_doublewrite' is a GLOBAL variable Expected error 'Variable is a GLOBAL variable' SELECT COUNT(@@GLOBAL.innodb_doublewrite); COUNT(@@GLOBAL.innodb_doublewrite) 1 1 Expected SELECT @@innodb_doublewrite = @@SESSION.innodb_doublewrite; ERROR HY000: Variable 'innodb_doublewrite' is a GLOBAL variable