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
e54ed17b
Commit
e54ed17b
authored
Mar 17, 2007
by
joerg@trift2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a failure in test "func_in" on some 64-bit big-endian hosts in first 5.0.38 builds.
parent
66960bd1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/item_cmpfunc.cc
sql/item_cmpfunc.cc
+2
-2
No files found.
sql/item_cmpfunc.cc
View file @
e54ed17b
...
@@ -2236,8 +2236,8 @@ int cmp_longlong(void *cmp_arg,
...
@@ -2236,8 +2236,8 @@ int cmp_longlong(void *cmp_arg,
One of the args is unsigned and is too big to fit into the
One of the args is unsigned and is too big to fit into the
positive signed range. Report no match.
positive signed range. Report no match.
*/
*/
if
(
a
->
unsigned_flag
&&
((
ulonglong
)
a
->
val
)
>
LONGLONG_MAX
||
if
(
a
->
unsigned_flag
&&
((
ulonglong
)
a
->
val
)
>
(
ulonglong
)
LONGLONG_MAX
||
b
->
unsigned_flag
&&
((
ulonglong
)
b
->
val
)
>
LONGLONG_MAX
)
b
->
unsigned_flag
&&
((
ulonglong
)
b
->
val
)
>
(
ulonglong
)
LONGLONG_MAX
)
return
a
->
unsigned_flag
?
1
:
-
1
;
return
a
->
unsigned_flag
?
1
:
-
1
;
/*
/*
Although the signedness differs both args can fit into the signed
Although the signedness differs both args can fit into the signed
...
...
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