Current Path : /home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/sys_vars/r/innodb_compress_debug_basic.result |
SET @backup_global_value = @@global.innodb_compress_debug; set global innodb_compress_debug="none"; SET @start_global_value = @@global.innodb_compress_debug; SELECT @start_global_value; @start_global_value none Valid value none, zlib, lz4 select @@global.innodb_compress_debug <= 2; @@global.innodb_compress_debug <= 2 1 Warnings: Warning 1292 Truncated incorrect DOUBLE value: 'none' select @@global.innodb_compress_debug; @@global.innodb_compress_debug none select @@session.innodb_compress_debug; ERROR HY000: Variable 'innodb_compress_debug' is a GLOBAL variable show global variables like 'innodb_compress_debug'; Variable_name Value innodb_compress_debug none show session variables like 'innodb_compress_debug'; Variable_name Value innodb_compress_debug none select * from performance_schema.global_variables where variable_name='innodb_compress_debug'; VARIABLE_NAME VARIABLE_VALUE innodb_compress_debug none select * from performance_schema.session_variables where variable_name='innodb_compress_debug'; VARIABLE_NAME VARIABLE_VALUE innodb_compress_debug none set global innodb_compress_debug="lz4"; select @@global.innodb_compress_debug; @@global.innodb_compress_debug lz4 select * from performance_schema.global_variables where variable_name='innodb_compress_debug'; VARIABLE_NAME VARIABLE_VALUE innodb_compress_debug lz4 select * from performance_schema.session_variables where variable_name='innodb_compress_debug'; VARIABLE_NAME VARIABLE_VALUE innodb_compress_debug lz4 set session innodb_compress_debug="none"; ERROR HY000: Variable 'innodb_compress_debug' is a GLOBAL variable and should be set with SET GLOBAL set global innodb_compress_debug=1.1; ERROR 42000: Incorrect argument type to variable 'innodb_compress_debug' set global innodb_compress_debug=1e1; ERROR 42000: Incorrect argument type to variable 'innodb_compress_debug' set global innodb_compress_debug=10; ERROR 42000: Variable 'innodb_compress_debug' can't be set to the value of '10' select @@global.innodb_compress_debug; @@global.innodb_compress_debug lz4 select * from performance_schema.global_variables where variable_name='innodb_compress_debug'; VARIABLE_NAME VARIABLE_VALUE innodb_compress_debug lz4 set global innodb_compress_debug=-7; ERROR 42000: Variable 'innodb_compress_debug' can't be set to the value of '-7' select @@global.innodb_compress_debug; @@global.innodb_compress_debug lz4 set global innodb_compress_debug="blah"; ERROR 42000: Variable 'innodb_compress_debug' can't be set to the value of 'blah' select @@global.innodb_compress_debug; @@global.innodb_compress_debug lz4 select * from performance_schema.global_variables where variable_name='innodb_compress_debug'; VARIABLE_NAME VARIABLE_VALUE innodb_compress_debug lz4 set global innodb_compress_debug="none"; select @@global.innodb_compress_debug; @@global.innodb_compress_debug none set global innodb_compress_debug="zlib"; select @@global.innodb_compress_debug; @@global.innodb_compress_debug zlib set global innodb_compress_debug="lz4"; select @@global.innodb_compress_debug; @@global.innodb_compress_debug lz4 SET @@global.innodb_compress_debug = @backup_global_value; SELECT @@global.innodb_compress_debug; @@global.innodb_compress_debug none