add set_level_zero_file_num_compaction_trigger api

master
zhangjinpeng1987 8 years ago committed by Karl Hobley
parent 5454956385
commit c884ee38b7
  1. 2
      src/rocksdb_options.rs

@ -284,7 +284,7 @@ impl Options {
} }
} }
pub fn set_level_zero_compaction_trigger(&mut self, n: c_int) { pub fn set_level_zero_file_num_compaction_trigger(&mut self, n: c_int) {
unsafe { unsafe {
rocksdb_ffi::rocksdb_options_set_level0_file_num_compaction_trigger( rocksdb_ffi::rocksdb_options_set_level0_file_num_compaction_trigger(
self.inner, n); self.inner, n);

Loading…
Cancel
Save