10000 We picked the Executionnode from the plan to a local variable, we can… · jameswei/arangodb@36f289e · GitHub
[go: up one dir, main page]

Skip to content

Commit 36f289e

Browse files
committed
We picked the Executionnode from the plan to a local variable, we can use it later on.
1 parent e0983ef commit 36f289e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

arangod/Aql/IndexBlock.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ int IndexBlock::initialize () {
172172

173173
for (auto const& v : inVars) {
174174
inVarsCur.emplace_back(v);
175-
auto it = getPlanNode()->getRegisterPlan()->varInfo.find(v->id);
176-
TRI_ASSERT(it != getPlanNode()->getRegisterPlan()->varInfo.end());
175+
auto it = en->getRegisterPlan()->varInfo.find(v->id);
176+
TRI_ASSERT(it != en->getRegisterPlan()->varInfo.end());
177177
TRI_ASSERT(it->second.registerId < ExecutionNode::MaxRegisterId);
178178
inRegsCur.emplace_back(it->second.registerId);
179179
}
@@ -184,7 +184,7 @@ int IndexBlock::initialize () {
184184
return TRI_ERROR_NO_ERROR;
185185
}
186186

187-
auto outVariable = static_cast<IndexNode const*>(getPlanNode())->outVariable();
187+
auto outVariable = en->outVariable();
188188

189189
for (size_t i = 0; i < _condition->numMembers(); ++i) {
190190
auto andCond = _condition->getMemberUnchecked(i);

0 commit comments

Comments
 (0)
0