Skip to content

Commit

Permalink
fix: use_bloom_filters
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Nov 3, 2024
1 parent 7bf3c78 commit e37f72e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "fjall"
description = "LSM-based key-value storage engine"
license = "MIT OR Apache-2.0"
version = "2.3.1"
version = "2.3.2"
edition = "2021"
rust-version = "1.74.0"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion src/partition/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ impl CreateOptions {
#[must_use]
#[doc(hidden)]
pub fn use_bloom_filters(mut self, flag: bool) -> Self {
self.bloom_bits_per_key = if flag { 10 } else { 0 };
self.bloom_bits_per_key = if flag { 10 } else { -1 };
self
}

Expand Down

0 comments on commit e37f72e

Please sign in to comment.