diff --git a/src/ffi.rs b/src/ffi.rs index a9f7e4e..0b26da6 100644 --- a/src/ffi.rs +++ b/src/ffi.rs @@ -201,7 +201,6 @@ extern "C" { options: DBOptions, max_bg_compactions: c_int); pub fn rocksdb_options_set_max_background_flushes(options: DBOptions, max_bg_flushes: c_int); - pub fn rocksdb_options_set_filter_deletes(options: DBOptions, v: bool); pub fn rocksdb_options_set_disable_auto_compactions(options: DBOptions, v: c_int); pub fn rocksdb_options_set_report_bg_io_stats(options: DBOptions, v: c_int); diff --git a/src/rocksdb_options.rs b/src/rocksdb_options.rs index 1120a7b..1292a97 100644 --- a/src/rocksdb_options.rs +++ b/src/rocksdb_options.rs @@ -534,12 +534,6 @@ impl Options { } } - pub fn set_filter_deletes(&mut self, filter: bool) { - unsafe { - rocksdb_ffi::rocksdb_options_set_filter_deletes(self.inner, filter); - } - } - /// Disables automatic compactions. Manual compactions can still /// be issued on this column family ///