diff options
author | unknown <msvensson@pilot.blaudden> | 2007-02-19 17:40:34 +0100 |
---|---|---|
committer | unknown <msvensson@pilot.blaudden> | 2007-02-19 17:40:34 +0100 |
commit | 2b46c20a7d722c3654d5bf219a837a28c84cc1b3 (patch) | |
tree | 53f91c6985d555466e18efc68aa9872364d57157 /mysql-test/t/mysqlbinlog.test | |
parent | a25c33cf73bd81c517224783decb6178f49cd063 (diff) | |
download | mariadb-git-2b46c20a7d722c3654d5bf219a837a28c84cc1b3.tar.gz |
Use a temporary file to pass UTF8 chars to "mysql" in a portable
way
Diffstat (limited to 'mysql-test/t/mysqlbinlog.test')
-rw-r--r-- | mysql-test/t/mysqlbinlog.test | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mysql-test/t/mysqlbinlog.test b/mysql-test/t/mysqlbinlog.test index b2bda247cd7..15c83711621 100644 --- a/mysql-test/t/mysqlbinlog.test +++ b/mysql-test/t/mysqlbinlog.test @@ -126,7 +126,15 @@ select HEX(f) from t4; #BUG#14157: utf8 encoding in binlog without set character_set_client # flush logs; ---exec $MYSQL test -e 'create table if not exists t5 (a int); set names latin1; create temporary table `漩周` (a int); insert into `漩周` values (1); insert into t5 select * from `漩周`' +--write_file $MYSQLTEST_VARDIR/tmp/bug14157.sql +create table if not exists t5 (a int); +set names latin1; +create temporary table `漩周` (a int); +insert into `漩周` values (1); +insert into t5 select * from `漩周` +EOF +--exec $MYSQL test < $MYSQLTEST_VARDIR/tmp/bug14157.sql +--remove_file $MYSQLTEST_VARDIR/tmp/bug14157.sql # resulted binlog, parly consisting of multi-byte utf8 chars, # must be digestable for both client and server. In 4.1 the client |