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
d85168e4
Commit
d85168e4
authored
Dec 07, 2015
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct length check in my_wc_mb_filename()
parent
e528fe79
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
mysql-test/r/ctype_filename.result
mysql-test/r/ctype_filename.result
+3
-0
mysql-test/t/ctype_filename.test
mysql-test/t/ctype_filename.test
+3
-0
strings/ctype-utf8.c
strings/ctype-utf8.c
+1
-1
No files found.
mysql-test/r/ctype_filename.result
View file @
d85168e4
...
...
@@ -11,3 +11,6 @@ create table com1 (a int);
drop table com1;
create table `clock$` (a int);
drop table `clock$`;
select convert(convert(',' using filename) using binary);
convert(convert(',' using filename) using binary)
@002c
mysql-test/t/ctype_filename.test
View file @
d85168e4
...
...
@@ -19,3 +19,6 @@ drop table com1;
create
table
`clock$`
(
a
int
);
drop
table
`clock$`
;
select
convert
(
convert
(
','
using
filename
)
using
binary
);
strings/ctype-utf8.c
View file @
d85168e4
...
...
@@ -4585,7 +4585,7 @@ my_wc_mb_filename(CHARSET_INFO *cs __attribute__((unused)),
}
/* Non letter */
if
(
s
+
5
>
e
)
if
(
s
+
4
>
e
)
return
MY_CS_TOOSMALL5
;
*
s
++=
hex
[(
wc
>>
12
)
&
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