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
cbda6835
Commit
cbda6835
authored
Feb 03, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up comments
parent
e1d5f620
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/item_func.cc
sql/item_func.cc
+2
-2
No files found.
sql/item_func.cc
View file @
cbda6835
...
@@ -456,7 +456,7 @@ double Item_func_pow::val()
...
@@ -456,7 +456,7 @@ double Item_func_pow::val()
double
Item_func_acos
::
val
()
double
Item_func_acos
::
val
()
{
{
// th
is 'volatile' was added as a fix for BUG #2338 to calm optimizer down
// th
e volatile's for BUG #2338 to calm optimizer down (because of gcc's bug)
volatile
double
value
=
args
[
0
]
->
val
();
volatile
double
value
=
args
[
0
]
->
val
();
if
((
null_value
=
(
args
[
0
]
->
null_value
||
(
value
<
-
1.0
||
value
>
1.0
))))
if
((
null_value
=
(
args
[
0
]
->
null_value
||
(
value
<
-
1.0
||
value
>
1.0
))))
return
0.0
;
return
0.0
;
...
@@ -465,7 +465,7 @@ double Item_func_acos::val()
...
@@ -465,7 +465,7 @@ double Item_func_acos::val()
double
Item_func_asin
::
val
()
double
Item_func_asin
::
val
()
{
{
// th
is 'volatile' was added as a fix for BUG #2338 to calm optimizer down
// th
e volatile's for BUG #2338 to calm optimizer down (because of gcc's bug)
volatile
double
value
=
args
[
0
]
->
val
();
volatile
double
value
=
args
[
0
]
->
val
();
if
((
null_value
=
(
args
[
0
]
->
null_value
||
(
value
<
-
1.0
||
value
>
1.0
))))
if
((
null_value
=
(
args
[
0
]
->
null_value
||
(
value
<
-
1.0
||
value
>
1.0
))))
return
0.0
;
return
0.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