Skip to content
Snippets Groups Projects
Unverified Commit 53825daa authored by cpw's avatar cpw Committed by GitHub
Browse files

Fix get src prop dead loop in GetNeighborsIter (#801)


Co-authored-by: default avatarYee <2520865+yixinglu@users.noreply.github.com>
parent 408fb35f
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,9 @@ void GetNeighborsIter::goToFirstEdge() {
currentEdge_ = &currentEdge.getList();
valid_ = true;
} // `edgeIdx_'
if (!valid_) {
++colIdx_;
}
} // `colIdx_'
if (valid_) {
break;
......
......@@ -663,8 +663,6 @@ std::vector<storage::cpp2::VertexProp> GoValidator::buildDstVertexProps() {
GetNeighbors::EdgeProps GoValidator::buildEdgeProps() {
GetNeighbors::EdgeProps edgeProps;
VLOG(1) << exprProps_.srcTagProps().empty() << exprProps_.dstTagProps().empty() <<
exprProps_.edgeProps().empty();
bool onlyInputPropsOrConstant = exprProps_.srcTagProps().empty() &&
exprProps_.dstTagProps().empty() &&
exprProps_.edgeProps().empty();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment