Skip to content

Commit

Permalink
Add merge delete_callback omitted by mistake (#500)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangsoledad committed Feb 23, 2021
1 parent 92ce69d commit 39b877b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/db_options.rs
Expand Up @@ -962,7 +962,7 @@ impl Options {
Some(merge_operator::destructor_callback::<F, F>),
Some(full_merge_callback::<F, F>),
Some(partial_merge_callback::<F, F>),
None,
Some(merge_operator::delete_callback),
Some(merge_operator::name_callback::<F, F>),
);
ffi::rocksdb_options_set_merge_operator(self.inner, mo);
Expand All @@ -987,7 +987,7 @@ impl Options {
Some(merge_operator::destructor_callback::<F, PF>),
Some(full_merge_callback::<F, PF>),
Some(partial_merge_callback::<F, PF>),
None,
Some(merge_operator::delete_callback),
Some(merge_operator::name_callback::<F, PF>),
);
ffi::rocksdb_options_set_merge_operator(self.inner, mo);
Expand Down

0 comments on commit 39b877b

Please sign in to comment.