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
f911a7fe
Commit
f911a7fe
authored
Mar 23, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into zim.(none):/home/brian/mysql/dep-5.1
parents
d1381992
d4c8ca0c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
strings/ctype-simple.c
strings/ctype-simple.c
+1
-1
strings/ctype-utf8.c
strings/ctype-utf8.c
+5
-5
No files found.
strings/ctype-simple.c
View file @
f911a7fe
...
...
@@ -1360,7 +1360,7 @@ int my_mb_ctype_8bit(CHARSET_INFO *cs, int *ctype,
if
(
s
>=
e
)
{
*
ctype
=
0
;
return
MY_CS_TOO
FEW
(
0
)
;
return
MY_CS_TOO
SMALL
;
}
*
ctype
=
cs
->
ctype
[
*
s
];
return
1
;
...
...
strings/ctype-utf8.c
View file @
f911a7fe
...
...
@@ -3917,7 +3917,7 @@ my_mb_wc_filename(CHARSET_INFO *cs __attribute__((unused)),
{
int
byte1
,
byte2
;
if
(
s
>=
e
)
return
MY_CS_TOO
FEW
(
0
)
;
return
MY_CS_TOO
SMALL
;
if
(
*
s
<
128
&&
filename_safe_char
[
*
s
])
{
...
...
@@ -3929,7 +3929,7 @@ my_mb_wc_filename(CHARSET_INFO *cs __attribute__((unused)),
return
MY_CS_ILSEQ
;
if
(
s
+
3
>
e
)
return
MY_CS_TOO
FEW
(
0
)
;
return
MY_CS_TOO
SMALL3
;
byte1
=
s
[
1
];
byte2
=
s
[
2
];
...
...
@@ -3946,7 +3946,7 @@ my_mb_wc_filename(CHARSET_INFO *cs __attribute__((unused)),
}
if
(
s
+
4
>
e
)
return
MY_CS_TOO
FEW
(
0
)
;
return
MY_CS_TOO
SMALL4
;
if
((
byte1
=
hexlo
(
byte1
))
>=
0
&&
(
byte2
=
hexlo
(
byte2
))
>=
0
)
...
...
@@ -3977,7 +3977,7 @@ my_wc_mb_filename(CHARSET_INFO *cs __attribute__((unused)),
}
if
(
s
+
3
>
e
)
return
MY_CS_TOOSMALL
;
return
MY_CS_TOOSMALL
3
;
*
s
++=
MY_FILENAME_ESCAPE
;
if
((
wc
>=
0x00C0
&&
wc
<=
0x05FF
&&
(
code
=
uni_0C00_05FF
[
wc
-
0x00C0
]))
||
...
...
@@ -3993,7 +3993,7 @@ my_wc_mb_filename(CHARSET_INFO *cs __attribute__((unused)),
/* Non letter */
if
(
s
+
5
>
e
)
return
MY_CS_TOOSMALL
;
return
MY_CS_TOOSMALL
5
;
*
s
++=
hex
[(
wc
>>
12
)
&
15
];
*
s
++=
hex
[(
wc
>>
8
)
&
15
];
...
...
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