There is no enabled param on compression options

master
Lucjan Suski 6 years ago
parent e44633dde7
commit 845a332fd3
  1. 6
      src/db_options.rs

@ -286,11 +286,9 @@ impl Options {
/// So users of this feature may see increased memory usage. /// So users of this feature may see increased memory usage.
/// ///
/// Default: `0` /// Default: `0`
pub fn set_compression_options(&mut self, w_bits: c_int, level: c_int, strategy: c_int, max_dict_bytes: c_int pub fn set_compression_options(&mut self, w_bits: c_int, level: c_int, strategy: c_int, max_dict_bytes: c_int) {
enabled: bool) {
unsafe { unsafe {
ffi::rocksdb_options_set_compression_options(self.inner, w_bits, level, strategy, max_dict_bytes, enabled); ffi::rocksdb_options_set_compression_options(self.inner, w_bits, level, strategy, max_dict_bytes);
} }
} }

Loading…
Cancel
Save