Skip to content

Commit

Permalink
Fix comment in WriteBatchWithIndex::NewIteratorWithBase (#11636)
Browse files Browse the repository at this point in the history
Summary:
Remove obsolete comment.

Support for WriteBatchWithIndex::NewIteratorWithBase when overwrite_key=false is added in #8135, as you can clearly see in the HISTORY.md.

Pull Request resolved: #11636

Reviewed By: jowlyzhang

Differential Revision: D47722955

Pulled By: ajkr

fbshipit-source-id: 4fa44a309d9708e9f4a1530918a9aaf7114c9032
  • Loading branch information
ywave authored and facebook-github-bot committed Jul 24, 2023
1 parent c41122b commit 9cc0986
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/rocksdb/utilities/write_batch_with_index.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,6 @@ class WriteBatchWithIndex : public WriteBatchBase {
// Will create a new Iterator that will use WBWIIterator as a delta and
// base_iterator as base.
//
// This function is only supported if the WriteBatchWithIndex was
// constructed with overwrite_key=true.
//
// The returned iterator should be deleted by the caller.
// The base_iterator is now 'owned' by the returned iterator. Deleting the
// returned iterator will also delete the base_iterator.
Expand Down

0 comments on commit 9cc0986

Please sign in to comment.