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
efc2936e
Commit
efc2936e
authored
Jun 18, 2004
by
bar@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ctype-uca.c:
Fix for compilation failure when HAVE_CHARSET_ucs2 is not defined.
parent
7bbdb840
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
strings/ctype-uca.c
strings/ctype-uca.c
+3
-3
No files found.
strings/ctype-uca.c
View file @
efc2936e
...
@@ -7668,7 +7668,7 @@ static int my_coll_rule_parse(MY_COLL_RULE *rule, size_t mitems,
...
@@ -7668,7 +7668,7 @@ static int my_coll_rule_parse(MY_COLL_RULE *rule, size_t mitems,
weights applying tailorings, i.e. a set of
weights applying tailorings, i.e. a set of
alternative weights for some characters.
alternative weights for some characters.
The default UCA weights are stored in
my_charset_ucs2_general_uca
.
The default UCA weights are stored in
uca_weight/uca_length
.
They consist of 256 pages, 256 character each.
They consist of 256 pages, 256 character each.
If a page is not overwritten by tailoring rules,
If a page is not overwritten by tailoring rules,
...
@@ -7685,8 +7685,8 @@ static my_bool create_tailoring(CHARSET_INFO *cs, void *(*alloc)(uint))
...
@@ -7685,8 +7685,8 @@ static my_bool create_tailoring(CHARSET_INFO *cs, void *(*alloc)(uint))
char
errstr
[
128
];
char
errstr
[
128
];
uchar
*
newlengths
;
uchar
*
newlengths
;
uint16
**
newweights
;
uint16
**
newweights
;
const
uchar
*
deflengths
=
my_charset_ucs2_general_uca
.
sort_order
;
const
uchar
*
deflengths
=
uca_length
;
uint16
**
defweights
=
my_charset_ucs2_general_uca
.
sort_order_big
;
uint16
**
defweights
=
uca_weight
;
int
rc
,
i
;
int
rc
,
i
;
int
ncontractions
=
0
;
int
ncontractions
=
0
;
...
...
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