config root man

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

#
#  2010-01-27 OBN - Added 
#

--source include/have_innodb.inc

#
# show the global and session values;
#
--let $inno_ver= `select @@global.innodb_version`
--replace_result $inno_ver x.y.z
select @@global.innodb_version;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.innodb_version;
--echo show global variables like 'innodb_version' disabled so to not change with every version;
--echo show session variables like 'innodb_version' disabled so to not change with every version;
--disable_warnings
select VARIABLE_VALUE=@@global.innodb_version from information_schema.global_variables where variable_name='innodb_version';
select VARIABLE_VALUE=@@global.innodb_version from information_schema.session_variables where variable_name='innodb_version';
--enable_warnings

#
# show that it's read-only
#
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set global innodb_version=1;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
set session innodb_version=1;


Man Man