From 8eb3cfeca3907bcc395f44a75a801a1dfe933ae9 Mon Sep 17 00:00:00 2001 From: Willi Goesgens Date: Thu, 7 Aug 2014 18:04:42 +0200 Subject: [PATCH] Implement subquery block - these parameters also should be enabled. --- arangod/Aql/ExecutionBlock.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arangod/Aql/ExecutionBlock.cpp b/arangod/Aql/ExecutionBlock.cpp index a7dc4bb838..143b5425cc 100644 --- a/arangod/Aql/ExecutionBlock.cpp +++ b/arangod/Aql/ExecutionBlock.cpp @@ -70,9 +70,9 @@ void ExecutionBlock::walk (WalkerWorker* worker) { // Now handle a subquery: if (_exeNode->getType() == ExecutionNode::SUBQUERY) { auto p = static_cast(this); - if (worker->enterSubquery(this, nullptr)) { ; // p->_subquery + if (worker->enterSubquery(this, p->getSubquery())) { ; p->getSubquery()->walk(worker); - worker->leaveSubquery(this, nullptr); // p->_subquery + worker->leaveSubquery(this, p->getSubquery()); } } worker->after(this);