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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
509cb91e
Commit
509cb91e
authored
Apr 05, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/usr/home/bar/mysql-5.1-new
parents
d9935084
f3a4f0af
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7961 additions
and
78 deletions
+7961
-78
mysql-test/r/information_schema.result
mysql-test/r/information_schema.result
+24
-24
mysql-test/t/information_schema.test
mysql-test/t/information_schema.test
+3
-0
sql/share/charsets/Index.xml
sql/share/charsets/Index.xml
+4
-1
sql/share/charsets/latin1.xml
sql/share/charsets/latin1.xml
+8
-8
strings/conf_to_src.c
strings/conf_to_src.c
+5
-1
strings/ctype-extra.c
strings/ctype-extra.c
+7917
-44
No files found.
mysql-test/r/information_schema.result
View file @
509cb91e
...
...
@@ -214,34 +214,34 @@ latin1 cp1252 West European latin1_swedish_ci 1
select * from information_schema.COLLATIONS
where COLLATION_NAME like 'latin1%';
COLLATION_NAME CHARACTER_SET_NAME ID IS_DEFAULT IS_COMPILED SORTLEN
latin1_german1_ci latin1 5
0
latin1_swedish_ci latin1 8 Yes
Yes
1
latin1_danish_ci latin1 15
0
latin1_german2_ci latin1 31
Yes
2
latin1_bin latin1 47
Yes
1
latin1_general_ci latin1 48
0
latin1_general_cs latin1 49
0
latin1_spanish_ci latin1 94
0
latin1_german1_ci latin1 5
# 1
latin1_swedish_ci latin1 8 Yes
#
1
latin1_danish_ci latin1 15
# 1
latin1_german2_ci latin1 31
#
2
latin1_bin latin1 47
#
1
latin1_general_ci latin1 48
# 1
latin1_general_cs latin1 49
# 1
latin1_spanish_ci latin1 94
# 1
SHOW COLLATION LIKE 'latin1%';
Collation Charset Id Default Compiled Sortlen
latin1_german1_ci latin1 5
0
latin1_swedish_ci latin1 8 Yes
Yes
1
latin1_danish_ci latin1 15
0
latin1_german2_ci latin1 31
Yes
2
latin1_bin latin1 47
Yes
1
latin1_general_ci latin1 48
0
latin1_general_cs latin1 49
0
latin1_spanish_ci latin1 94
0
latin1_german1_ci latin1 5
# 1
latin1_swedish_ci latin1 8 Yes
#
1
latin1_danish_ci latin1 15
# 1
latin1_german2_ci latin1 31
#
2
latin1_bin latin1 47
#
1
latin1_general_ci latin1 48
# 1
latin1_general_cs latin1 49
# 1
latin1_spanish_ci latin1 94
# 1
SHOW COLLATION WHERE collation like 'latin1%';
Collation Charset Id Default Compiled Sortlen
latin1_german1_ci latin1 5
0
latin1_swedish_ci latin1 8 Yes
Yes
1
latin1_danish_ci latin1 15
0
latin1_german2_ci latin1 31
Yes
2
latin1_bin latin1 47
Yes
1
latin1_general_ci latin1 48
0
latin1_general_cs latin1 49
0
latin1_spanish_ci latin1 94
0
latin1_german1_ci latin1 5
# 1
latin1_swedish_ci latin1 8 Yes
#
1
latin1_danish_ci latin1 15
# 1
latin1_german2_ci latin1 31
#
2
latin1_bin latin1 47
#
1
latin1_general_ci latin1 48
# 1
latin1_general_cs latin1 49
# 1
latin1_spanish_ci latin1 94
# 1
select * from information_schema.COLLATION_CHARACTER_SET_APPLICABILITY
where COLLATION_NAME like 'latin1%';
COLLATION_NAME CHARACTER_SET_NAME
...
...
mysql-test/t/information_schema.test
View file @
509cb91e
...
...
@@ -97,9 +97,12 @@ SHOW CHARACTER SET WHERE charset like 'latin1%';
# Test for information_schema.COLLATIONS &
# SHOW COLLATION
--
replace_column
5
#
select
*
from
information_schema
.
COLLATIONS
where
COLLATION_NAME
like
'latin1%'
;
--
replace_column
5
#
SHOW
COLLATION
LIKE
'latin1%'
;
--
replace_column
5
#
SHOW
COLLATION
WHERE
collation
like
'latin1%'
;
select
*
from
information_schema
.
COLLATION_CHARACTER_SET_APPLICABILITY
...
...
sql/share/charsets/Index.xml
View file @
509cb91e
...
...
@@ -115,7 +115,10 @@ To make maintaining easier please:
<alias>
l1
</alias>
<alias>
latin1
</alias>
<collation
name=
"latin1_german1_ci"
id=
"5"
order=
"German Duden"
/>
<collation
name=
"latin1_swedish_ci"
id=
"8"
order=
"Finnish, Swedish"
flag=
"primary"
/>
<collation
name=
"latin1_swedish_ci"
id=
"8"
order=
"Finnish, Swedish"
>
<flag>
primary
</flag>
<flag>
compiled
</flag>
</collation>
<collation
name=
"latin1_danish_ci"
id=
"15"
order=
"Danish"
/>
<collation
name=
"latin1_german2_ci"
id=
"31"
order=
"German Phonebook"
flag=
"compiled"
/>
<collation
name=
"latin1_spanish_ci"
id=
"94"
order=
"Spanish"
/>
...
...
sql/share/charsets/latin1.xml
View file @
509cb91e
...
...
@@ -33,14 +33,14 @@
01 01 01 01 01 01 01 01 01 01 01 10 10 10 10 10
10 82 82 82 82 82 82 02 02 02 02 02 02 02 02 02
02 02 02 02 02 02 02 02 02 02 02 10 10 10 10 20
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 2
0
20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0
0
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0
0
10 00 10 02 10 10 10 10 10 10 01 10 01 00 01 0
0
00 10 10 10 10 10 10 10 10 10 02 10 02 00 02 01
48 10 10 10 10 10 10 10 10 10 10 10 10 10 10 1
0
10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 1
0
01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01
0
0 01 01 01 01 01 01 01 02
01 01 01 01 01 01 01
1
0 01 01 01 01 01 01 01 02
02 02 02 02 02 02 02 02 02 02 02 02 02 02 02 02
02 02 02 02 02 02 02
0
0 02 02 02 02 02 02 02 02
02 02 02 02 02 02 02
1
0 02 02 02 02 02 02 02 02
</map>
</ctype>
...
...
@@ -99,8 +99,8 @@
0050 0051 0052 0053 0054 0055 0056 0057 0058 0059 005A 005B 005C 005D 005E 005F
0060 0061 0062 0063 0064 0065 0066 0067 0068 0069 006A 006B 006C 006D 006E 006F
0070 0071 0072 0073 0074 0075 0076 0077 0078 0079 007A 007B 007C 007D 007E 007F
0080 0081 0082 0083 0084 0085 0086 0087 0088 0089 008A 008B 008C 008D 008E
008F
0090
0091 0092 0093 0094 0095 0096 0097 0098 0099 009A 009B 009C 009D 009E 009F
20AC 0081 201A 0192 201E 2026 2020 2021 02C6 2030 0160 2039 0152 008D 017D
008F
0090
2018 2019 201C 201D 2022 2013 2014 02DC 2122 0161 203A 0153 009D 017E 0178
00A0 00A1 00A2 00A3 00A4 00A5 00A6 00A7 00A8 00A9 00AA 00AB 00AC 00AD 00AE 00AF
00B0 00B1 00B2 00B3 00B4 00B5 00B6 00B7 00B8 00B9 00BA 00BB 00BC 00BD 00BE 00BF
00C0 00C1 00C2 00C3 00C4 00C5 00C6 00C7 00C8 00C9 00CA 00CB 00CC 00CD 00CE 00CF
...
...
strings/conf_to_src.c
View file @
509cb91e
...
...
@@ -221,15 +221,19 @@ void dispcset(FILE *f,CHARSET_INFO *cs)
}
fprintf
(
f
,
" NULL, /* from_uni */
\n
"
);
fprintf
(
f
,
" my_unicase_default, /* caseinfo */
\n
"
);
fprintf
(
f
,
" NULL, /* state map */
\n
"
);
fprintf
(
f
,
" NULL, /* ident map */
\n
"
);
fprintf
(
f
,
" 1, /* strxfrm_multiply*/
\n
"
);
fprintf
(
f
,
" 1, /* caseup_multiply*/
\n
"
);
fprintf
(
f
,
" 1, /* casedn_multiply*/
\n
"
);
fprintf
(
f
,
" 1, /* mbminlen */
\n
"
);
fprintf
(
f
,
" 1, /* mbmaxlen */
\n
"
);
fprintf
(
f
,
" 0, /* min_sort_char */
\n
"
);
fprintf
(
f
,
" 255, /* max_sort_char */
\n
"
);
fprintf
(
f
,
" ' ', /* pad_char */
\n
"
);
fprintf
(
f
,
" 0, /* escape_with_backslash_is_dangerous */
\n
"
);
fprintf
(
f
,
" &my_charset_8bit_handler,
\n
"
);
if
(
cs
->
state
&
MY_CS_BINSORT
)
fprintf
(
f
,
" &my_collation_8bit_bin_handler,
\n
"
);
...
...
strings/ctype-extra.c
View file @
509cb91e
This diff is collapsed.
Click to expand it.
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