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
7bc48798
Commit
7bc48798
authored
Feb 15, 2005
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Safety fix
parent
556cf40d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
sql/item_cmpfunc.cc
sql/item_cmpfunc.cc
+4
-3
No files found.
sql/item_cmpfunc.cc
View file @
7bc48798
...
...
@@ -2047,7 +2047,8 @@ int cmp_item_row::compare(cmp_item *c)
void
cmp_item_decimal
::
store_value
(
Item
*
item
)
{
my_decimal
*
val
=
item
->
val_decimal
(
&
value
);
if
(
val
!=
&
value
)
/* val may be zero if item is nnull */
if
(
val
&&
val
!=
&
value
)
my_decimal2decimal
(
val
,
&
value
);
}
...
...
@@ -2061,9 +2062,9 @@ int cmp_item_decimal::cmp(Item *arg)
}
int
cmp_item_decimal
::
compare
(
cmp_item
*
c
)
int
cmp_item_decimal
::
compare
(
cmp_item
*
arg
)
{
cmp_item_decimal
*
cmp
=
(
cmp_item_decimal
*
)
c
;
cmp_item_decimal
*
cmp
=
(
cmp_item_decimal
*
)
arg
;
return
my_decimal_cmp
(
&
value
,
&
cmp
->
value
);
}
...
...
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