mirror of https://gitee.com/bigwinds/arangodb
Allow 0 parents for remote single nodes
This commit is contained in:
parent
cf2672cb9c
commit
8b04400143
|
@ -96,6 +96,7 @@ class CheckPlan : public WalkerWorker<ExecutionNode> {
|
|||
case ExecutionNode::UPSERT:
|
||||
case ExecutionNode::REMOVE:
|
||||
case ExecutionNode::GATHER:
|
||||
case ExecutionNode::REMOTESINGLE:
|
||||
if (node->getParents().size() > 1) {
|
||||
errors.emplace_back() << "#parents == " << node->getParents().size() << " at [" << node->id() << "] " << node->getTypeString();
|
||||
ok = false;
|
||||
|
|
Loading…
Reference in New Issue