1
0
Fork 0

Minor bugfix

This commit is contained in:
Tobias Gödderz 2019-11-28 15:21:33 +01:00
parent b94755c61e
commit dda0e8cff3
1 changed files with 2 additions and 2 deletions

View File

@ -252,10 +252,10 @@ bool substituteClusterSingleDocumentOperationsIndex(Optimizer* opt, ExecutionPla
}
}
ExecutionNode* singleOperationNode = plan->registerNode(new SingleRemoteOperationNode(
ExecutionNode* singleOperationNode = plan->createNode<SingleRemoteOperationNode>(
plan, plan->nextId(), parentType, true, key, mod->collection(),
mod->getOptions(), update, indexNode->outVariable(),
mod->getOutVariableOld(), mod->getOutVariableNew()));
mod->getOutVariableOld(), mod->getOutVariableNew());
::replaceNode(plan, mod, singleOperationNode);
plan->unlinkNode(indexNode);