config root man

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

# disabled in embedded until tools running is fixed with embedded
--source include/not_embedded.inc

-- source include/have_binlog_format_mixed_or_statement.inc
-- source include/have_cp932.inc
-- source include/have_log_bin.inc

RESET MASTER;

# Bug#16217 (mysql client did not know how not switch its internal charset)
create table t3 (f text character set utf8);
create table t4 (f text character set cp932);
--character_set utf8
--execw $MYSQL --default-character-set=utf8 test -e "insert into t3 values(_utf8'ソ')"
--character_set cp932
--execw $MYSQL --default-character-set=cp932 test -e "insert into t4 values(_cp932'ƒ\');"
flush logs;
let $datadir = `SELECT @@DATADIR`;
copy_file $datadir/master-bin.000001 $datadir/master-bin.saved;
rename table t3 to t03, t4 to t04;

# Reset GTIDs
RESET MASTER;

--exec $MYSQL_BINLOG --short-form $datadir/master-bin.saved | $MYSQL --default-character-set=utf8
# original and recovered data must be equal
select HEX(f) from t03;
select HEX(f) from t3;
select HEX(f) from t04;
select HEX(f) from t4;

drop table t3, t4, t03, t04;
--remove_file $datadir/master-bin.saved
--echo End of 5.0 tests

Man Man