Skip to content

Commit

Permalink
merge: check vector access (ydb-platform#7474) (ydb-platform#7591)
Browse files Browse the repository at this point in the history
  • Loading branch information
uzhastik committed Sep 12, 2024
1 parent 63dbb3b commit 0e6f23e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ydb/services/metadata/ds_table/accessor_snapshot_base.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ void TDSAccessorBase::Handle(NRequest::TEvRequestResult<NRequest::TDialogYQLRequ
Y_ABORT_UNLESS(it != CurrentExistence.end());
Y_ABORT_UNLESS(it->second);
if (it->second == 1) {
Y_ABORT_UNLESS((int)replyIdx < qResult.result_sets().size());
*qResultFull.add_result_sets() = std::move(qResult.result_sets()[replyIdx]);
++replyIdx;
} else {
Expand Down

0 comments on commit 0e6f23e

Please sign in to comment.