1
0
Fork 0

add specific messages for queries issued by 3.3

This commit is contained in:
jsteemann 2018-07-17 20:31:35 +02:00
parent 6a35c1b29f
commit 5e0011a9af
1 changed files with 3 additions and 0 deletions

View File

@ -487,6 +487,9 @@ AqlValue Expression::executeSimpleExpression(
case NODE_TYPE_OPERATOR_NARY_AND:
case NODE_TYPE_OPERATOR_NARY_OR:
return executeSimpleExpressionNaryAndOr(node, trx, mustDestroy);
case NODE_TYPE_COLLECTION:
THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_NOT_IMPLEMENTED, "node type 'collection' is not supported in ArangoDB 3.4");
default:
std::string msg("unhandled type '");
msg.append(node->getTypeString());