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 |
Current File : //home/usr.opt/mysql57/mysql-test/suite/sys_vars/t/innodb_read_only_basic.test |
--source include/have_innodb.inc # Can only be set from the command line. # show the global and session values; --echo Valid values are 'ON' and 'OFF' select @@global.innodb_read_only; --error ER_INCORRECT_GLOBAL_LOCAL_VAR select @@session.innodb_read_only; show global variables like 'innodb_read_only'; show session variables like 'innodb_read_only'; --disable_warnings select * from information_schema.global_variables where variable_name='innodb_read_only'; select * from information_schema.session_variables where variable_name='innodb_read_only'; --enable_warnings # Show that it's read-only --error ER_INCORRECT_GLOBAL_LOCAL_VAR set global innodb_read_only=1; --error ER_INCORRECT_GLOBAL_LOCAL_VAR set session innodb_read_only=1;