summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.cornsilk.net>2006-11-28 13:08:41 -0500
committerunknown <cmiller@zippy.cornsilk.net>2006-11-28 13:08:41 -0500
commitbe820c11d045345aaefea21ead49cfac60b1c31c (patch)
treec7b41606ca016bc6aebac12905cbf5aa19513210
parent5a0b54fd13e413eee1fbe2fc9176330d2daeb6fa (diff)
downloadmariadb-git-be820c11d045345aaefea21ead49cfac60b1c31c.tar.gz
Revert charset breakage.
-rw-r--r--mysql-test/r/mysql.result14
-rw-r--r--mysql-test/t/mysql.test8
2 files changed, 11 insertions, 11 deletions
diff --git a/mysql-test/r/mysql.result b/mysql-test/r/mysql.result
index cfcb3eaf334..3bba1944c52 100644
--- a/mysql-test/r/mysql.result
+++ b/mysql-test/r/mysql.result
@@ -61,16 +61,16 @@ database()
test
unlock tables;
drop table t1;
-ツソ
-ツソ
+ソ
+ソ
c_cp932
-ツソ
-ツソ
-ツソ
+ソ
+ソ
+ソ
繧ス
繧ス
-ツソ
-ツソ
+ソ
+ソ
+----------------------+------------+--------+
| concat('>',col1,'<') | col2 | col3 |
+----------------------+------------+--------+
diff --git a/mysql-test/t/mysql.test b/mysql-test/t/mysql.test
index 5fc0692c70e..6b99f5154aa 100644
--- a/mysql-test/t/mysql.test
+++ b/mysql-test/t/mysql.test
@@ -52,10 +52,10 @@ drop table t1;
--exec $MYSQL --default-character-set=cp932 test -e "charset utf8;"
# its usage to switch internally in mysql to requested charset
---exec $MYSQL --default-character-set=utf8 test -e "charset cp932; select 'ツソ'; create table t1 (c_cp932 TEXT CHARACTER SET cp932); insert into t1 values('ツソ'); select * from t1; drop table t1;"
---exec $MYSQL --default-character-set=utf8 test -e "charset cp932; select 'ツソ'"
---exec $MYSQL --default-character-set=utf8 test -e "/*charset cp932 */; set character_set_client= cp932; select 'ツソ'"
---exec $MYSQL --default-character-set=utf8 test -e "/*!\C cp932 */; set character_set_client= cp932; select 'ツソ'"
+--exec $MYSQL --default-character-set=utf8 test -e "charset cp932; select 'ソ'; create table t1 (c_cp932 TEXT CHARACTER SET cp932); insert into t1 values('ソ'); select * from t1; drop table t1;"
+--exec $MYSQL --default-character-set=utf8 test -e "charset cp932; select 'ソ'"
+--exec $MYSQL --default-character-set=utf8 test -e "/*charset cp932 */; set character_set_client= cp932; select 'ソ'"
+--exec $MYSQL --default-character-set=utf8 test -e "/*!\C cp932 */; set character_set_client= cp932; select 'ソ'"
#
# Bug#16859 -- NULLs in columns must not truncate data as if a C-language "string".