Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
8b2b69c8
Commit
8b2b69c8
authored
Jan 09, 2003
by
bar@bar.mysql.r18.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
euc_kr, koi8_r and koi8_u have been renamed so that now
all charset names don't have "_" sign.
parent
38dcf186
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
23 deletions
+23
-23
mysql-test/r/ctype_many.result
mysql-test/r/ctype_many.result
+7
-7
mysql-test/t/ctype_many.test
mysql-test/t/ctype_many.test
+2
-2
sql/share/charsets/Index.xml
sql/share/charsets/Index.xml
+8
-8
strings/ctype-euc_kr.c
strings/ctype-euc_kr.c
+2
-2
strings/ctype.c
strings/ctype.c
+4
-4
No files found.
mysql-test/r/ctype_many.result
View file @
8b2b69c8
DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (
comment CHAR(32) ASCII NOT NULL,
koi8_ru_f CHAR(32) CHARACTER SET koi8
_
r NOT NULL
koi8_ru_f CHAR(32) CHARACTER SET koi8r NOT NULL
) CHARSET=latin5;
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`comment` char(32) character set latin1 NOT NULL default '',
`koi8_ru_f` char(32) character set koi8
_
r NOT NULL default ''
`koi8_ru_f` char(32) character set koi8r NOT NULL default ''
) TYPE=MyISAM CHARSET=latin5
ALTER TABLE t1 CHANGE comment comment CHAR(32) CHARACTER SET latin2 NOT NULL;
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`comment` char(32) character set latin2 NOT NULL default '',
`koi8_ru_f` char(32) character set koi8
_
r NOT NULL default ''
`koi8_ru_f` char(32) character set koi8r NOT NULL default ''
) TYPE=MyISAM CHARSET=latin5
ALTER TABLE t1 ADD latin5_f CHAR(32) NOT NULL;
SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`comment` char(32) character set latin2 NOT NULL default '',
`koi8_ru_f` char(32) character set koi8
_
r NOT NULL default '',
`koi8_ru_f` char(32) character set koi8r NOT NULL default '',
`latin5_f` char(32) character set latin5 NOT NULL default ''
) TYPE=MyISAM CHARSET=latin5
ALTER TABLE t1 CHARSET=latin2;
...
...
@@ -30,7 +30,7 @@ SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`comment` char(32) character set latin2 NOT NULL default '',
`koi8_ru_f` char(32) character set koi8
_
r NOT NULL default '',
`koi8_ru_f` char(32) character set koi8r NOT NULL default '',
`latin5_f` char(32) character set latin5 NOT NULL default '',
`latin2_f` char(32) character set latin2 NOT NULL default ''
) TYPE=MyISAM CHARSET=latin2
...
...
@@ -39,7 +39,7 @@ SHOW CREATE TABLE t1;
Table Create Table
t1 CREATE TABLE `t1` (
`comment` char(32) character set latin2 NOT NULL default '',
`koi8_ru_f` char(32) character set koi8
_
r NOT NULL default ''
`koi8_ru_f` char(32) character set koi8r NOT NULL default ''
) TYPE=MyISAM CHARSET=latin2
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('a','LAT SMALL A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('b','LAT SMALL B');
...
...
@@ -1061,7 +1061,7 @@ CYR SMALL YA CYR CAPIT YA
CYR SMALL YA CYR SMALL YA
SELECT t11.comment,t12.comment
FROM t1 t11,t1 t12
WHERE t11.koi8_ru_f=CONVERT(t12.utf8_f USING koi8
_
r)
WHERE t11.koi8_ru_f=CONVERT(t12.utf8_f USING koi8r)
ORDER BY t12.utf8_f,t11.comment,t12.comment;
comment comment
LAT CAPIT A LAT CAPIT A
...
...
mysql-test/t/ctype_many.test
View file @
8b2b69c8
...
...
@@ -4,7 +4,7 @@ DROP TABLE IF EXISTS t1;
CREATE
TABLE
t1
(
comment
CHAR
(
32
)
ASCII
NOT
NULL
,
koi8_ru_f
CHAR
(
32
)
CHARACTER
SET
koi8
_
r
NOT
NULL
koi8_ru_f
CHAR
(
32
)
CHARACTER
SET
koi8r
NOT
NULL
)
CHARSET
=
latin5
;
SHOW
CREATE
TABLE
t1
;
...
...
@@ -158,7 +158,7 @@ ORDER BY t11.koi8_ru_f,t11.comment,t12.comment;
SELECT
t11
.
comment
,
t12
.
comment
FROM
t1
t11
,
t1
t12
WHERE
t11
.
koi8_ru_f
=
CONVERT
(
t12
.
utf8_f
USING
koi8
_
r
)
WHERE
t11
.
koi8_ru_f
=
CONVERT
(
t12
.
utf8_f
USING
koi8r
)
ORDER
BY
t12
.
utf8_f
,
t11
.
comment
,
t12
.
comment
;
ALTER
TABLE
t1
ADD
ucs2_f
CHAR
(
32
)
CHARACTER
SET
ucs2
;
...
...
sql/share/charsets/Index.xml
View file @
8b2b69c8
...
...
@@ -124,11 +124,11 @@ To make maintaining easier please:
</collation>
</charset>
<charset
name=
"koi8
_
r"
>
<charset
name=
"koi8r"
>
<family>
Cyrillic
</family>
<alias>
koi8-r
u
</alias>
<alias>
koi8-r
</alias>
<alias>
cskoi8r
</alias>
<collation
name=
"koi8
_
r"
id=
"7"
order=
"Russian"
flag=
"primary"
/>
<collation
name=
"koi8r"
id=
"7"
order=
"Russian"
flag=
"primary"
/>
</charset>
<charset
name=
"swe7"
>
...
...
@@ -211,11 +211,11 @@ To make maintaining easier please:
<collation
name=
"tis620"
id=
"18"
order=
"Thai"
flag=
"primary"
flag=
"compiled"
/>
</charset>
<charset
name=
"euc
_
kr"
>
<charset
name=
"euckr"
>
<family>
Korean
</family>
<alias>
euckr
</alias>
<alias>
euc
_
kr
</alias>
<alias>
euc-kr
</alias>
<collation
name=
"euc
_
kr"
id=
"19"
order=
"Korean"
flag=
"primary"
flag=
"compiled"
/>
<collation
name=
"euckr"
id=
"19"
order=
"Korean"
flag=
"primary"
flag=
"compiled"
/>
</charset>
<charset
name=
"latin7"
>
...
...
@@ -228,10 +228,10 @@ To make maintaining easier please:
<collation
name=
"latvian1"
id=
"42"
order=
"Latvian"
/>
</charset>
<charset
name=
"koi8
_
u"
>
<charset
name=
"koi8u"
>
<family>
Cyrillic
</family>
<alias>
koi8-u
</alias>
<collation
name=
"koi8
_
u"
id=
"22"
order=
"Ukranian"
flag=
"primary"
/>
<collation
name=
"koi8u"
id=
"22"
order=
"Ukranian"
flag=
"primary"
/>
</charset>
<charset
name=
"gb2312"
>
...
...
strings/ctype-euc_kr.c
View file @
8b2b69c8
...
...
@@ -8637,8 +8637,8 @@ CHARSET_INFO my_charset_euc_kr =
{
19
,
/* number */
MY_CS_COMPILED
|
MY_CS_PRIMARY
,
/* state */
"euc
_
kr"
,
/* cs name */
"euc
_
kr"
,
/* name */
"euckr"
,
/* cs name */
"euckr"
,
/* name */
""
,
/* comment */
ctype_euc_kr
,
to_lower_euc_kr
,
...
...
strings/ctype.c
View file @
8b2b69c8
...
...
@@ -3399,8 +3399,8 @@ static CHARSET_INFO compiled_charsets[] = {
{
7
,
/* number */
MY_CS_COMPILED
,
/* state */
"koi8
_
r"
,
/* cs name */
"koi8
_
r"
,
/* name */
"koi8r"
,
/* cs name */
"koi8r"
,
/* name */
""
,
/* comment */
ctype_koi8_ru
,
to_lower_koi8_ru
,
...
...
@@ -3444,8 +3444,8 @@ static CHARSET_INFO compiled_charsets[] = {
{
22
,
/* number */
MY_CS_COMPILED
,
/* state */
"koi8
_
u"
,
/* cs name */
"koi8
_
u"
,
/* name */
"koi8u"
,
/* cs name */
"koi8u"
,
/* name */
""
,
/* comment */
ctype_koi8_ukr
,
to_lower_koi8_ukr
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment