mirror of https://gitee.com/bigwinds/arangodb
removed TODOs
This commit is contained in:
parent
cf79ef33e2
commit
464c0751d9
|
@ -1149,7 +1149,7 @@ AstNode* Ast::optimizeUnaryOperatorArithmetic (AstNode* node) {
|
|||
// double
|
||||
double const value = - converted->getDoubleValue();
|
||||
|
||||
if (value != value ||
|
||||
if (value != value || // intentional
|
||||
value == HUGE_VAL ||
|
||||
value == - HUGE_VAL) {
|
||||
// IEEE754 NaN values have an interesting property that we can exploit...
|
||||
|
|
|
@ -610,6 +610,7 @@ AqlValue Expression::executeSimpleExpression (AstNode const* node,
|
|||
// right operand must be a list, otherwise we return false
|
||||
left.destroy();
|
||||
right.destroy();
|
||||
// do not throw, but return "false" instead
|
||||
return AqlValue(new triagens::basics::Json(false));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue