summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorunknown <aelkin@dl145h.mysql.com>2006-06-01 22:32:33 +0200
committerunknown <aelkin@dl145h.mysql.com>2006-06-01 22:32:33 +0200
commite195d46fc6fea299d5dc504e7c006b9a7a183ef0 (patch)
tree4c7055e62b092afe69e6c58df3181380c28886b4 /mysql-test/t
parent33b00ea51d2fed717cf8c528871d71e9ead4470b (diff)
parent4aef3b224085bbcf01d9d2233a14fc886474f47b (diff)
downloadmariadb-git-e195d46fc6fea299d5dc504e7c006b9a7a183ef0.tar.gz
Merge dl145h.mysql.com:/tmp/andrei/MERGE/5.0_my
into dl145h.mysql.com:/tmp/andrei/MERGE/5.1 mysql-test/t/mysqlbinlog.test: Auto merged sql/ha_ndbcluster.cc: Auto merged sql/sql_class.cc: Auto merged
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/mysqlbinlog.test19
1 files changed, 8 insertions, 11 deletions
diff --git a/mysql-test/t/mysqlbinlog.test b/mysql-test/t/mysqlbinlog.test
index b76a5103120..ceba78bf762 100644
--- a/mysql-test/t/mysqlbinlog.test
+++ b/mysql-test/t/mysqlbinlog.test
@@ -125,21 +125,18 @@ select HEX(f) from t04;
select HEX(f) from t4;
#
-# BUG#14157: utf8 encoding in binlog without set character_set_client
-#
-# BUG:
-# This test only works on the MySQL-internal rpl machines.
-# Needs to be fixed. Problem is that koi8r is not installed
-# on many machines.
+#BUG#14157: utf8 encoding in binlog without set character_set_client
#
flush logs;
-# --exec $MYSQL --character-sets-dir=../sql/share/charsets/ --default-character-set=koi8r 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 log is client charset insensitive (latin1 not koi8r) as it must be
-# --exec $MYSQL_BINLOG --short-form $MYSQL_TEST_DIR/var/log/master-bin.000006 | $MYSQL --default-character-set=latin1
-#select * from t5 /* must be (1),(1) */;
+# resulted binlog, parly consisting of multi-byte utf8 chars,
+# must be digestable for both client and server. In 4.1 the client
+# should use default-character-set same as the server.
+--exec $MYSQL_BINLOG --short-form $MYSQLTEST_VARDIR/log/master-bin.000006 | $MYSQL
+select * from t5 /* must be (1),(1) */;
# clean up
-drop table t1, t2, t03, t04, t3, t4;
+drop table t1, t2, t03, t04, t3, t4, t5;
# End of 5.0 tests