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
d2b78a28
Commit
d2b78a28
authored
Mar 31, 2005
by
pekka@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge pnousiainen@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/space/pekka/ndb/version/my41
parents
10a03ce6
3e245202
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
sql/item_cmpfunc.cc
sql/item_cmpfunc.cc
+8
-2
No files found.
sql/item_cmpfunc.cc
View file @
d2b78a28
...
...
@@ -393,10 +393,16 @@ int Arg_comparator::compare_e_binary_string()
int
Arg_comparator
::
compare_real
()
{
double
val1
=
(
*
a
)
->
val
();
/*
Fix yet another manifestation of Bug#2338. 'Volatile' will instruct
gcc to flush double values out of 80-bit Intel FPU registers before
performing the comparison.
*/
volatile
double
val1
,
val2
;
val1
=
(
*
a
)
->
val
();
if
(
!
(
*
a
)
->
null_value
)
{
double
val2
=
(
*
b
)
->
val
();
val2
=
(
*
b
)
->
val
();
if
(
!
(
*
b
)
->
null_value
)
{
owner
->
null_value
=
0
;
...
...
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