Visit PullRemote's input only if it has any
Reviewers: florijan, msantl Reviewed By: msantl Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1239
This commit is contained in:
parent
a44d9a0fac
commit
f1aece8352
@ -2933,7 +2933,12 @@ void Union::UnionCursor::Reset() {
|
|||||||
right_cursor_->Reset();
|
right_cursor_->Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
ACCEPT_WITH_INPUT(PullRemote);
|
bool PullRemote::Accept(HierarchicalLogicalOperatorVisitor &visitor) {
|
||||||
|
if (visitor.PreVisit(*this)) {
|
||||||
|
if (input_) input_->Accept(visitor);
|
||||||
|
}
|
||||||
|
return visitor.PostVisit(*this);
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<Symbol> PullRemote::OutputSymbols(const SymbolTable &table) const {
|
std::vector<Symbol> PullRemote::OutputSymbols(const SymbolTable &table) const {
|
||||||
return input_ ? input_->OutputSymbols(table) : std::vector<Symbol>{};
|
return input_ ? input_->OutputSymbols(table) : std::vector<Symbol>{};
|
||||||
|
Loading…
Reference in New Issue
Block a user