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
01ffccd6
Commit
01ffccd6
authored
Oct 05, 2020
by
Eugene Kosov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UBSAN: UndefinedBehaviorSanitizer: undefined-behavior ../sql/item_cmpfunc.cc:3650:14
parent
0aef658d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
sql/item_cmpfunc.cc
sql/item_cmpfunc.cc
+4
-1
No files found.
sql/item_cmpfunc.cc
View file @
01ffccd6
...
...
@@ -4153,8 +4153,11 @@ void Item_func_in::fix_after_pullout(st_select_lex *new_parent, Item **ref,
eval_not_null_tables
(
NULL
);
}
static
int
srtcmp_in
(
CHARSET_INFO
*
cs
,
const
String
*
x
,
const
String
*
y
)
static
int
srtcmp_in
(
const
void
*
cs_
,
const
void
*
x_
,
const
void
*
y_
)
{
const
CHARSET_INFO
*
cs
=
static_cast
<
const
CHARSET_INFO
*>
(
cs_
);
const
String
*
x
=
static_cast
<
const
String
*>
(
x_
);
const
String
*
y
=
static_cast
<
const
String
*>
(
y_
);
return
cs
->
coll
->
strnncollsp
(
cs
,
(
uchar
*
)
x
->
ptr
(),
x
->
length
(),
(
uchar
*
)
y
->
ptr
(),
y
->
length
());
...
...
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