#14157: utf8 encoding in binlog without set character_set_client
#
flushlogs;
--exec$MYSQL--character-sets-dir=../sql/share/charsets/--default-character-set=koi8rtest-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--character-sets-dir=../sql/share/charsets/--default-character-set=koi8rtest-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 ``'
# resulted log is client charset insensitive (latin1 not koi8r) as it must be
#14157: utf8 encoding in binlog without set character_set_client
#
--exec$MYSQL--character-sets-dir=../sql/share/charsets/--default-character-set=koi8rtest-e'create table t1 (a int); set names koi8r; create temporary table `ÔÏÌØËÏ ÇÅÒÏÉ ÓÒÅÚÁÀÔ ÒÁÛÐÉÌÅÍ ÇÒÉÍ` (a int); insert into `ÔÏÌØËÏ ÇÅÒÏÉ ÓÒÅÚÁÀÔ ÒÁÛÐÉÌÅÍ ÇÒÉÍ` values (1); insert into t1 select * from `ÔÏÌØËÏ ÇÅÒÏÉ ÓÒÅÚÁÀÔ ÒÁÛÐÉÌÅÍ ÇÒÉÍ`'
--exec$MYSQL--character-sets-dir=../sql/share/charsets/--default-character-set=latin1test-e'create table t1 (a int); set names latin1; create temporary table `äöüÄÖÜ` (a int); insert into `äöüÄÖÜ` values (1); insert into t1 select * from `äöüÄÖÜ`'