Commit 1bd47888 authored by bar@mysql.com's avatar bar@mysql.com

ctype_utf8.result, ctype_utf8.test, ctype-utf8.c:

  Bugs: #8385: utf8_general_ci treats cyrillic letters I and SHORT I as the same
parent e2bd15ec
...@@ -861,3 +861,6 @@ user c ...@@ -861,3 +861,6 @@ user c
one <one> one <one>
two <two> two <two>
DROP TABLE t1; DROP TABLE t1;
select convert(_koi8r'' using utf8) < convert(_koi8r'' using utf8);
convert(_koi8r'' using utf8) < convert(_koi8r'' using utf8)
1
...@@ -693,3 +693,8 @@ INSERT INTO t1 VALUES ('one'),('two'); ...@@ -693,3 +693,8 @@ INSERT INTO t1 VALUES ('one'),('two');
SELECT CHARSET('a'); SELECT CHARSET('a');
SELECT user, CONCAT('<', user, '>') AS c FROM t1; SELECT user, CONCAT('<', user, '>') AS c FROM t1;
DROP TABLE t1; DROP TABLE t1;
#
# Bug#8385: utf8_general_ci treats Cyrillic letters I and SHORT I as the same
#
select convert(_koi8r'' using utf8) < convert(_koi8r'' using utf8);
...@@ -578,7 +578,7 @@ static MY_UNICASE_INFO plane04[]={ ...@@ -578,7 +578,7 @@ static MY_UNICASE_INFO plane04[]={
{0x0412,0x0432,0x0412}, {0x0413,0x0433,0x0413}, {0x0412,0x0432,0x0412}, {0x0413,0x0433,0x0413},
{0x0414,0x0434,0x0414}, {0x0415,0x0435,0x0415}, {0x0414,0x0434,0x0414}, {0x0415,0x0435,0x0415},
{0x0416,0x0436,0x0416}, {0x0417,0x0437,0x0417}, {0x0416,0x0436,0x0416}, {0x0417,0x0437,0x0417},
{0x0418,0x0438,0x0418}, {0x0419,0x0439,0x0418}, {0x0418,0x0438,0x0418}, {0x0419,0x0439,0x0419},
{0x041A,0x043A,0x041A}, {0x041B,0x043B,0x041B}, {0x041A,0x043A,0x041A}, {0x041B,0x043B,0x041B},
{0x041C,0x043C,0x041C}, {0x041D,0x043D,0x041D}, {0x041C,0x043C,0x041C}, {0x041D,0x043D,0x041D},
{0x041E,0x043E,0x041E}, {0x041F,0x043F,0x041F}, {0x041E,0x043E,0x041E}, {0x041F,0x043F,0x041F},
...@@ -594,7 +594,7 @@ static MY_UNICASE_INFO plane04[]={ ...@@ -594,7 +594,7 @@ static MY_UNICASE_INFO plane04[]={
{0x0412,0x0432,0x0412}, {0x0413,0x0433,0x0413}, {0x0412,0x0432,0x0412}, {0x0413,0x0433,0x0413},
{0x0414,0x0434,0x0414}, {0x0415,0x0435,0x0415}, {0x0414,0x0434,0x0414}, {0x0415,0x0435,0x0415},
{0x0416,0x0436,0x0416}, {0x0417,0x0437,0x0417}, {0x0416,0x0436,0x0416}, {0x0417,0x0437,0x0417},
{0x0418,0x0438,0x0418}, {0x0419,0x0439,0x0418}, {0x0418,0x0438,0x0418}, {0x0419,0x0439,0x0419},
{0x041A,0x043A,0x041A}, {0x041B,0x043B,0x041B}, {0x041A,0x043A,0x041A}, {0x041B,0x043B,0x041B},
{0x041C,0x043C,0x041C}, {0x041D,0x043D,0x041D}, {0x041C,0x043C,0x041C}, {0x041D,0x043D,0x041D},
{0x041E,0x043E,0x041E}, {0x041F,0x043F,0x041F}, {0x041E,0x043E,0x041E}, {0x041F,0x043F,0x041F},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment