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_fill_factor_basic.test

#
#  2014-03-26 - Added
#

--source include/have_innodb.inc

#
# show the global and session values;
#
select @@global.innodb_fill_factor;
--error ER_INCORRECT_GLOBAL_LOCAL_VAR
select @@session.innodb_fill_factor;
show global variables like 'innodb_fill_factor';
show session variables like 'innodb_fill_factor';
--disable_warnings
select * from information_schema.global_variables where variable_name='innodb_fill_factor';
select * from information_schema.session_variables where variable_name='innodb_fill_factor';
--enable_warnings

#
# test default, min, max value
#
let $innodb_fill_factor_orig=`select @@innodb_fill_factor`;

set global innodb_fill_factor=9;
select @@innodb_fill_factor;

set global innodb_fill_factor=10;
select @@innodb_fill_factor;

set global innodb_fill_factor=75;
select @@innodb_fill_factor;

set global innodb_fill_factor=100;
select @@innodb_fill_factor;

set global innodb_fill_factor=101;
select @@innodb_fill_factor;

eval set global innodb_fill_factor=$innodb_fill_factor_orig;

Man Man