Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andyfengHKU committed May 17, 2023
1 parent da50244 commit 76d408a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/include/common/vector/value_vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,8 @@ class ListVector {
->addList(listSize);
}
static inline void resetListAuxiliaryBuffer(ValueVector* vector) {
if (vector->dataType.typeID == VAR_LIST) {
reinterpret_cast<ListAuxiliaryBuffer*>(vector->auxiliaryBuffer.get())->resetSize();
}
assert(vector->dataType.typeID == VAR_LIST);
reinterpret_cast<ListAuxiliaryBuffer*>(vector->auxiliaryBuffer.get())->resetSize();
}
};

Expand Down
2 changes: 2 additions & 0 deletions src/processor/operator/recursive_extend/recursive_join.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ void BaseRecursiveJoin::initLocalStateInternal(ResultSet* resultSet_, ExecutionC
dstNodeIDVector = resultSet->getValueVector(dataInfo->dstNodePos).get();
if (dataInfo->trackPath) {
pathVector = resultSet->getValueVector(dataInfo->pathPos).get();
} else {
pathVector = nullptr;
}
initLocalRecursivePlan(context);
}
Expand Down

0 comments on commit 76d408a

Please sign in to comment.