diff --git a/src/db_options.rs b/src/db_options.rs index 7317f18..40d1771 100644 --- a/src/db_options.rs +++ b/src/db_options.rs @@ -962,7 +962,7 @@ impl Options { Some(merge_operator::destructor_callback::), Some(full_merge_callback::), Some(partial_merge_callback::), - None, + Some(merge_operator::delete_callback), Some(merge_operator::name_callback::), ); ffi::rocksdb_options_set_merge_operator(self.inner, mo); @@ -987,7 +987,7 @@ impl Options { Some(merge_operator::destructor_callback::), Some(full_merge_callback::), Some(partial_merge_callback::), - None, + Some(merge_operator::delete_callback), Some(merge_operator::name_callback::), ); ffi::rocksdb_options_set_merge_operator(self.inner, mo);