summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <aelkin@dl145k.mysql.com>2006-05-31 10:47:16 +0200
committerunknown <aelkin@dl145k.mysql.com>2006-05-31 10:47:16 +0200
commit8c7209e5f3c8f39e503b8cb9187c29860abdd3ec (patch)
treee9f39450aba6d2d64c716504c245910927374872
parentf90f2c58d3bf366d28d76b63399e21e12c0b12cb (diff)
parentd50e3433b48d224abd7d32d1cf2509624ef40709 (diff)
downloadmariadb-git-8c7209e5f3c8f39e503b8cb9187c29860abdd3ec.tar.gz
Merge dl145k.mysql.com:/tmp/andrei/MERGE/mysql-4.1
into dl145k.mysql.com:/tmp/andrei/MERGE/5.0 BitKeeper/deleted/.del-config.guess~fd94a91a69a8ce8: Auto merged BitKeeper/deleted/.del-config.sub~d18f703b655db258: Auto merged BitKeeper/deleted/.del-ltmain.sh~9b8b907df176f96e: Auto merged mysql-test/t/mysqlbinlog.test: manual merge, accepting 4.1 mods sql/sql_class.cc: use local, Ramil explained it's a backport
-rw-r--r--mysql-test/t/mysqlbinlog.test17
1 files changed, 7 insertions, 10 deletions
diff --git a/mysql-test/t/mysqlbinlog.test b/mysql-test/t/mysqlbinlog.test
index d74bb1c3a80..135bc4191f6 100644
--- a/mysql-test/t/mysqlbinlog.test
+++ b/mysql-test/t/mysqlbinlog.test
@@ -123,19 +123,16 @@ 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 $MYSQL_TEST_DIR/var/log/master-bin.000006 | $MYSQL
+select * from t5 /* must be (1),(1) */;
# clean up
drop table t1, t2, t03, t04, t3, t4;