config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/sys_vars/t/

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
Upload File :
Current File : /home/usr.opt/mysql57/mysql-test/suite/sys_vars/t/innodb_log_checksums_basic.test

--source include/have_innodb.inc

# Check the default value
SET @orig = @@global.innodb_log_checksums;
SELECT @orig;

-- error ER_WRONG_VALUE_FOR_VAR
SET GLOBAL innodb_log_checksums = 'crc32';
SELECT @@global.innodb_log_checksums;

-- error ER_WRONG_VALUE_FOR_VAR
SET GLOBAL innodb_log_checksums = 2;
SELECT @@global.innodb_log_checksums;

-- error ER_WRONG_TYPE_FOR_VAR
SET GLOBAL innodb_log_checksums = 1e2;
SELECT @@global.innodb_log_checksums;

-- error ER_WRONG_TYPE_FOR_VAR
SET GLOBAL innodb_log_checksums = 1.0;
SELECT @@global.innodb_log_checksums;

-- error ER_GLOBAL_VARIABLE
SET innodb_log_checksums = OFF;
SELECT @@global.innodb_log_checksums;

SET GLOBAL innodb_log_checksums = OFF;
SELECT @@global.innodb_log_checksums;

SET GLOBAL innodb_log_checksums = default;

SET GLOBAL innodb_log_checksums = ON;
SELECT @@global.innodb_log_checksums;

SET GLOBAL innodb_log_checksums = @orig;
SELECT @@global.innodb_log_checksums;

Man Man