Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
heroicNeZha committed Jan 20, 2022
1 parent ec6d62f commit 7f75358
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/graph/planner/plan/PlanNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@ void PlanNode::releaseSymbols() {
void PlanNode::updateSymbols() {
auto symTbl = qctx_->symTable();
for (auto out : outputVars_) {
out && symTbl->updateWrittenBy(out->name, out->name, this);
if (out != nullptr) {
symTbl->updateWrittenBy(out->name, out->name, this);
}
}
}

Expand Down

0 comments on commit 7f75358

Please sign in to comment.