From 088de58006eb21316c66c12a7bcfada70c5abc07 Mon Sep 17 00:00:00 2001 From: LunarStore <1981811204@qq.com> Date: Sat, 2 Sep 2023 12:19:14 +0800 Subject: [PATCH] block.cc's fix --- table/block.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/table/block.cc b/table/block.cc index 3b15257..fb78e80 100644 --- a/table/block.cc +++ b/table/block.cc @@ -269,7 +269,7 @@ class Block::Iter : public Iterator { key_.append(p, non_shared); value_ = Slice(p + non_shared, value_length); while (restart_index_ + 1 < num_restarts_ && - GetRestartPoint(restart_index_ + 1) < current_) { + GetRestartPoint(restart_index_ + 1) <= current_) { ++restart_index_; } return true;