Skip to content

Commit

Permalink
Small fix in WBWIMemtable::UpdateKey() (#13171)
Browse files Browse the repository at this point in the history
Summary:
fixes issue #13166.

Pull Request resolved: #13171

Test Plan: the same command in #13166 doesn't reproduce for me.

Reviewed By: ltamasi

Differential Revision: D66621871

Pulled By: cbi42

fbshipit-source-id: 08820a22071091606b437181e2b5e9343202d637
  • Loading branch information
cbi42 authored and facebook-github-bot committed Dec 2, 2024
1 parent 6f9d826 commit 1a76289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memtable/wbwi_memtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class WBWIMemTableIterator final : public InternalIterator {
key_.clear();
valid_ = false;
s_ = Status::Corruption("Unexpected write_batch_with_index entry type " +
std::to_string(t->second));
std::to_string(it_->Entry().type));
return;
}
key_buf_.SetInternalKey(it_->Entry().key, global_seqno_, t->second);
Expand Down

0 comments on commit 1a76289

Please sign in to comment.