Skip to content

Commit

Permalink
Reapply fix for #13166 (#13265)
Browse files Browse the repository at this point in the history
Summary:
There was a fix in #13171 for issue #13166 but it was overwritten by commit d5345a8. This PR is to reapply the fix.

Fixes #13264 to have Rocks compile under Ubuntu again

Pull Request resolved: #13265

Reviewed By: archang19

Differential Revision: D67764706

Pulled By: cbi42

fbshipit-source-id: c8822fff6769bf3be1e6ceee3f2b58b09d8569b3
  • Loading branch information
vaqxai authored and facebook-github-bot committed Jan 2, 2025
1 parent 3570e4f commit 62a7ddb
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 @@ -367,7 +367,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, assigned_seqno_.upper_bound,
Expand Down

0 comments on commit 62a7ddb

Please sign in to comment.