SELECT @@GLOBAL.innodb_undo_tablespaces; @@GLOBAL.innodb_undo_tablespaces 0 0 Expected SET @@GLOBAL.innodb_undo_tablespaces=128; ERROR HY000: Variable 'innodb_undo_tablespaces' is a read only variable Expected error 'Read only variable' SELECT COUNT(@@GLOBAL.innodb_undo_tablespaces); COUNT(@@GLOBAL.innodb_undo_tablespaces) 1 1 Expected SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES WHERE VARIABLE_NAME='innodb_undo_tablespaces'; VARIABLE_VALUE 0 0 Expected SELECT @@innodb_undo_tablespaces = @@GLOBAL.innodb_undo_tablespaces; @@innodb_undo_tablespaces = @@GLOBAL.innodb_undo_tablespaces 1 1 Expected SELECT COUNT(@@innodb_undo_tablespaces); COUNT(@@innodb_undo_tablespaces) 1 1 Expected SELECT COUNT(@@local.innodb_undo_tablespaces); ERROR HY000: Variable 'innodb_undo_tablespaces' is a GLOBAL variable Expected error 'Variable is a GLOBAL variable' SELECT COUNT(@@SESSION.innodb_undo_tablespaces); ERROR HY000: Variable 'innodb_undo_tablespaces' is a GLOBAL variable Expected error 'Variable is a GLOBAL variable' SELECT COUNT(@@GLOBAL.innodb_undo_tablespaces); COUNT(@@GLOBAL.innodb_undo_tablespaces) 1 1 Expected SELECT innodb_undo_tablespaces = @@SESSION.innodb_undo_tablespaces; ERROR 42S22: Unknown column 'innodb_undo_tablespaces' in 'field list' Expected error 'Readonly variable'