diff --git a/include/rocksdb/options.h b/include/rocksdb/options.h index 624aa5245..d6d0b5289 100644 --- a/include/rocksdb/options.h +++ b/include/rocksdb/options.h @@ -1181,7 +1181,7 @@ struct ReadOptions { // "iterate_upper_bound" defines the extent upto which the forward iterator // can returns entries. Once the bound is reached, Valid() will be false. // "iterate_upper_bound" is exclusive ie the bound value is - // not a valid entry. If iterator_extractor is not null, the Seek target + // not a valid entry. If prefix_extractor is not null, the Seek target // and iterate_upper_bound need to have the same prefix. // This is because ordering is not guaranteed outside of prefix domain. // diff --git a/java/src/main/java/org/rocksdb/ReadOptions.java b/java/src/main/java/org/rocksdb/ReadOptions.java index 8353e0fe8..1f1510568 100644 --- a/java/src/main/java/org/rocksdb/ReadOptions.java +++ b/java/src/main/java/org/rocksdb/ReadOptions.java @@ -476,7 +476,7 @@ public class ReadOptions extends RocksObject { * * The upper bound is exclusive i.e. the bound value is not a valid entry. * - * If iterator_extractor is not null, the Seek target and iterate_upper_bound + * If prefix_extractor is not null, the Seek target and iterate_upper_bound * need to have the same prefix. This is because ordering is not guaranteed * outside of prefix domain. *