google / leveldb

LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.
BSD 3-Clause "New" or "Revised" License
35.71k stars 7.72k forks source link

block.cc's fix #1144

Closed LunarStore closed 9 months ago

LunarStore commented 10 months ago

In the leveldb/table/block.cc file, the member function ParseNextKey() of the Block::Ite class, when updating the member variable restartindex, the last judgment condition of the while loop (GetRestartPoint(restartindex + 1) < current_) should be added with an equal sign.

google-cla[bot] commented 10 months ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.