Commit d50e3433 authored by unknown's avatar unknown
Browse files

BUG#14157: utf8 encoding in binlog without set character_set_client

refining the test case to exclude problems with koi8r on some platforms.


mysql-test/t/mysqlbinlog.test:
  replacing unavailble on some platforms koi8r with latin1 still to preserve the essence of the testcase:
  to generate utf8 names in binlog, despite client charset was different, and
  to digest this binlog.
parent c12d8015
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -115,10 +115,10 @@ select HEX(f) from t04;
select HEX(f) from t4;

#
#14157: utf8 encoding in binlog without set character_set_client
#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 koi8r; create temporary table `` (a int); insert into `` values (1); insert into t5 select * from ``'
--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 ``'

# resulted binlog, parly consisting of multi-byte utf8 chars, 
# must be digestable for both client and server. In 4.1 the client