config root man

Current Path : /home/usr.opt/mysql57/mysql-test/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/t/flush2.test

#
# Bug#17733 Flushing logs causes daily server crash
#

--source include/not_embedded.inc
--source include/not_relay_log_info_table.inc
# The hostname needs to be stripped off its extensions as even
# in code we use the stripped hostname as default basename
--let $HOST_NAME= `SELECT SUBSTRING_INDEX(@@hostname, '.', 1)`
flush logs;
set global expire_logs_days = 3;
show variables like 'log_bin%';
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR $HOST_NAME hostname
show variables like 'relay_log%';
flush logs;
show variables like 'log_bin%';
--replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR $HOST_NAME hostname
show variables like 'relay_log%';
set global expire_logs_days = 0;

Man Man