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
653db58b
Commit
653db58b
authored
Jan 14, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix C++ comments in C file (fixed in 5.0 already)
strings/ctype-uca.c: fix C++ comments in C file
parent
4799f077
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
strings/ctype-uca.c
strings/ctype-uca.c
+2
-2
No files found.
strings/ctype-uca.c
View file @
653db58b
...
@@ -7214,7 +7214,7 @@ static int my_strnxfrm_uca(CHARSET_INFO *cs,
...
@@ -7214,7 +7214,7 @@ static int my_strnxfrm_uca(CHARSET_INFO *cs,
uchar
*
dst
,
uint
dstlen
,
uchar
*
dst
,
uint
dstlen
,
const
uchar
*
src
,
uint
srclen
)
const
uchar
*
src
,
uint
srclen
)
{
{
uchar
*
de
=
dst
+
(
dstlen
&
(
uint
)
~
1
);
/
/ add even length for easier code
uchar
*
de
=
dst
+
(
dstlen
&
(
uint
)
~
1
);
/
* add even length for easier code */
int
s_res
;
int
s_res
;
my_uca_scanner
scanner
;
my_uca_scanner
scanner
;
scanner_handler
->
init
(
&
scanner
,
cs
,
src
,
srclen
);
scanner_handler
->
init
(
&
scanner
,
cs
,
src
,
srclen
);
...
@@ -7232,7 +7232,7 @@ static int my_strnxfrm_uca(CHARSET_INFO *cs,
...
@@ -7232,7 +7232,7 @@ static int my_strnxfrm_uca(CHARSET_INFO *cs,
dst
[
1
]
=
s_res
&
0xFF
;
dst
[
1
]
=
s_res
&
0xFF
;
dst
+=
2
;
dst
+=
2
;
}
}
if
(
dstlen
&
1
)
/
/ if odd number then fill the last char
if
(
dstlen
&
1
)
/
* if odd number then fill the last char */
*
dst
=
'\0'
;
*
dst
=
'\0'
;
return
dstlen
;
return
dstlen
;
...
...
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