SELECT @@GLOBAL.innodb_log_arch_dir;
@@GLOBAL.innodb_log_arch_dir
./
NULL Expected
SET @@GLOBAL.innodb_log_arch_dir=1;
ERROR HY000: Variable 'innodb_log_arch_dir' is a read only variable
Expected error 'Read only variable'
SELECT @@GLOBAL.innodb_log_arch_dir;
@@GLOBAL.innodb_log_arch_dir
./
NULL Expected
SELECT VARIABLE_VALUE
FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
WHERE VARIABLE_NAME='innodb_log_arch_dir';
VARIABLE_VALUE
./
empty string Expected
SELECT @@innodb_log_arch_dir;
@@innodb_log_arch_dir
./
NULL Expected
SELECT @@innodb_log_arch_dir;
@@innodb_log_arch_dir
./
NULL Expected
SELECT @@local.innodb_log_arch_dir;
ERROR HY000: Variable 'innodb_log_arch_dir' is a GLOBAL variable
Expected error 'Variable is a GLOBAL variable'
SELECT @@SESSION.innodb_log_arch_dir;
ERROR HY000: Variable 'innodb_log_arch_dir' is a GLOBAL variable
Expected error 'Variable is a GLOBAL variable'
SELECT @@GLOBAL.innodb_log_arch_dir;
@@GLOBAL.innodb_log_arch_dir
./
NULL Expected
SELECT innodb_log_arch_dir = @@SESSION.innodb_log_arch_dir;
ERROR 42S22: Unknown column 'innodb_log_arch_dir' in 'field list'
Expected error Unknown column 'innodb_log_arch_dir' in 'field list'
