Add GQL behave tests for on-disk storage (#1238)

This commit is contained in:
Aidar Samerkhanov
2023-10-10 09:27:11 +03:00
committed by GitHub
parent 0d51a20a02
commit 7fbf5857f2
8 changed files with 75 additions and 46 deletions

View File

@@ -459,6 +459,8 @@ class DbAccessor final {
}
storage::Result<std::optional<VertexAccessor>> RemoveVertex(VertexAccessor *vertex_accessor) {
accessor_->PrefetchOutEdges(vertex_accessor->impl_);
accessor_->PrefetchInEdges(vertex_accessor->impl_);
auto res = accessor_->DeleteVertex(&vertex_accessor->impl_);
if (res.HasError()) {
return res.GetError();