mirror of https://gitee.com/bigwinds/arangodb
some comments
This commit is contained in:
parent
cb56e2175f
commit
6400912c3a
|
@ -269,6 +269,9 @@ namespace std {
|
|||
case triagens::aql::AqlValue::RANGE: {
|
||||
return a._range == b._range;
|
||||
}
|
||||
// case triagens::aql::AqlValue::EMPTY intentionally not handled here!
|
||||
// (should fall through and fail!)
|
||||
|
||||
default: {
|
||||
TRI_ASSERT(false);
|
||||
return true;
|
||||
|
|
|
@ -851,7 +851,8 @@ void V8Executor::generateCodeNode (AstNode const* node) {
|
|||
break;
|
||||
|
||||
case NODE_TYPE_VARIABLE:
|
||||
// we're not expecting a variable here
|
||||
case NODE_TYPE_PARAMETER:
|
||||
// we're not expecting these types here
|
||||
THROW_ARANGO_EXCEPTION(TRI_ERROR_INTERNAL);
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue