fix typo: rename set_background_purge_on_interator_cleanup to set_background_purge_on_iterator_cleanup (#578)

master
Congyu 3 years ago committed by GitHub
parent 6ed14c3e34
commit 16cc1ce97c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/db_options.rs

@ -3210,7 +3210,7 @@ impl ReadOptions {
/// in the flush job queue and delete obsolete files in background.
///
/// Default: false
pub fn set_background_purge_on_interator_cleanup(&mut self, v: bool) {
pub fn set_background_purge_on_iterator_cleanup(&mut self, v: bool) {
unsafe {
ffi::rocksdb_readoptions_set_background_purge_on_iterator_cleanup(
self.inner,

Loading…
Cancel
Save