Skip to content

Commit

Permalink
Revert WBWI support.
Browse files Browse the repository at this point in the history
  • Loading branch information
cbi42 committed Aug 17, 2023
1 parent bda87ac commit d3415cf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion utilities/transactions/write_prepared_transaction_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3488,7 +3488,7 @@ TEST_P(WritePreparedTransactionTest, Iterate) {
TEST_P(WritePreparedTransactionTest, IteratorRefreshNotSupported) {
Iterator* iter = db->NewIterator(ReadOptions());
ASSERT_OK(iter->status());
ASSERT_OK(iter->Refresh());
ASSERT_TRUE(iter->Refresh().IsNotSupported());
delete iter;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,6 @@ Status BaseDeltaIterator::status() const {
return delta_iterator_->status();
}

Status BaseDeltaIterator::Refresh(const Snapshot* snap) {
return base_iterator_->Refresh(snap);
}

void BaseDeltaIterator::Invalidate(Status s) { status_ = s; }

void BaseDeltaIterator::AssertInvariants() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ class BaseDeltaIterator : public Iterator {
Slice key() const override;
Slice value() const override;
Status status() const override;
Status Refresh(const Snapshot*) override;
using Iterator::Refresh;
void Invalidate(Status s);

private:
Expand Down

0 comments on commit d3415cf

Please sign in to comment.