From c884ee38b7de4ab2756773c08e82a388538b2ee8 Mon Sep 17 00:00:00 2001 From: zhangjinpeng1987 Date: Tue, 2 Aug 2016 18:36:03 +0800 Subject: [PATCH] add set_level_zero_file_num_compaction_trigger api --- src/rocksdb_options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rocksdb_options.rs b/src/rocksdb_options.rs index 1fea826..3eab0a2 100644 --- a/src/rocksdb_options.rs +++ b/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 { rocksdb_ffi::rocksdb_options_set_level0_file_num_compaction_trigger( self.inner, n);