1
0
Fork 0

Implement subquery block - these parameters also should be enabled.

This commit is contained in:
Willi Goesgens 2014-08-07 18:04:42 +02:00
parent d30914afb2
commit 8eb3cfeca3
1 changed files with 2 additions and 2 deletions

View File

@ -70,9 +70,9 @@ void ExecutionBlock::walk (WalkerWorker* worker) {
// Now handle a subquery:
if (_exeNode->getType() == ExecutionNode::SUBQUERY) {
auto p = static_cast<SubqueryBlock*>(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);