Current Path : /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 |
Current File : //usr/opt/mysql57/mysql-test/suite/sys_vars/t/innodb_checksum_algorithm_basic.test |
--source include/have_innodb.inc # Check the default value SET @orig = @@global.innodb_checksum_algorithm; SELECT @orig; SET GLOBAL innodb_checksum_algorithm = 'crc32'; SELECT @@global.innodb_checksum_algorithm; SET GLOBAL innodb_checksum_algorithm = 'strict_crc32'; SELECT @@global.innodb_checksum_algorithm; SET GLOBAL innodb_checksum_algorithm = 'innodb'; SELECT @@global.innodb_checksum_algorithm; SET GLOBAL innodb_checksum_algorithm = 'strict_innodb'; SELECT @@global.innodb_checksum_algorithm; SET GLOBAL innodb_checksum_algorithm = 'none'; SELECT @@global.innodb_checksum_algorithm; SET GLOBAL innodb_checksum_algorithm = 'strict_none'; SELECT @@global.innodb_checksum_algorithm; -- error ER_WRONG_VALUE_FOR_VAR SET GLOBAL innodb_checksum_algorithm = ''; SELECT @@global.innodb_checksum_algorithm; -- error ER_WRONG_VALUE_FOR_VAR SET GLOBAL innodb_checksum_algorithm = 'foobar'; SELECT @@global.innodb_checksum_algorithm; -- error ER_WRONG_VALUE_FOR_VAR SET GLOBAL innodb_checksum_algorithm = 123; SELECT @@global.innodb_checksum_algorithm; SET GLOBAL innodb_checksum_algorithm = @orig; SELECT @@global.innodb_checksum_algorithm;