From 6e934585f90f3e70a53068e8b0651fd8408f56c6 Mon Sep 17 00:00:00 2001 From: James Date: Tue, 21 Oct 2014 11:05:11 +0100 Subject: [PATCH] adding distribute node --- arangod/Aql/ExecutionEngine.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arangod/Aql/ExecutionEngine.cpp b/arangod/Aql/ExecutionEngine.cpp index 60289ad86c..5a7e94e061 100644 --- a/arangod/Aql/ExecutionEngine.cpp +++ b/arangod/Aql/ExecutionEngine.cpp @@ -230,7 +230,8 @@ struct Instanciator : public WalkerWorker { nodeType == ExecutionNode::REPLACE) { root = eb; } - else if (nodeType == ExecutionNode::SCATTER || + else if (nodeType == ExecutionNode::DISTRIBUTE || + nodeType == ExecutionNode::SCATTER || nodeType == ExecutionNode::GATHER) { THROW_ARANGO_EXCEPTION_MESSAGE(TRI_ERROR_INTERNAL, "logic error, got cluster node in local query"); }