Skip to content

Commit

Permalink
Fix mdbx seek behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCharlatan committed Sep 19, 2024
1 parent 3f675fa commit 0516a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dbwrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ MDBXIterator::~MDBXIterator()
void MDBXIterator::SeekImpl(Span<const std::byte> key)
{
mdbx::slice slKey(CharCast(key.data()), key.size());
valid = m_impl_iter->cursor->seek(slKey);
valid = m_impl_iter->cursor->lower_bound(slKey);
}

CDBIteratorBase* MDBXWrapper::NewIterator()
Expand Down

0 comments on commit 0516a4c

Please sign in to comment.