summaryrefslogtreecommitdiff
path: root/mysql-test/t/ctype_recoding.test
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-09-16 17:14:23 +0500
committerunknown <bar@bar.mysql.r18.ru>2003-09-16 17:14:23 +0500
commit2e95bcc4775f509898426786e3ac844a2f9ec407 (patch)
treec2d6bcc4e4c3f992b72dc56b22100854d4f8daf6 /mysql-test/t/ctype_recoding.test
parent414bd57b339d84bbaceaba3cd461cabfafe35353 (diff)
downloadmariadb-git-2e95bcc4775f509898426786e3ac844a2f9ec407.tar.gz
Bug fix:
SET character_set_connection=newcharset; SELECT hex('text'); The above sequence failed in some cases.
Diffstat (limited to 'mysql-test/t/ctype_recoding.test')
-rw-r--r--mysql-test/t/ctype_recoding.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/ctype_recoding.test b/mysql-test/t/ctype_recoding.test
index bbb0d963a9d..325a8f075ed 100644
--- a/mysql-test/t/ctype_recoding.test
+++ b/mysql-test/t/ctype_recoding.test
@@ -45,3 +45,8 @@ SHOW TABLES;
SHOW TABLES IN ςερς;
SET CHARACTER SET koi8r;
DROP DATABASE ΤΕΣΤ;
+
+SET NAMES koi8r;
+SELECT hex('ΤΕΣΤ');
+SET character_set_connection=cp1251;
+SELECT hex('ΤΕΣΤ');