Skip to content

Commit

Permalink
Deprecate the use of the INTEGER_DUP flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerollmops committed Mar 6, 2025
1 parent 408d12e commit e89a293
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion heed/src/mdb/lmdb_flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ bitflags! {
/// wtxn.commit()?;
/// # Ok(()) }
/// ```
#[deprecated(since="0.21.0", note="please use `IntegerComparator` instead")]
#[deprecated(since="0.21.0", note="prefer using `IntegerComparator` with the `DatabaseOpenOptions::key_comparator` method instead")]
const INTEGER_KEY = ffi::MDB_INTEGERKEY;
/// With [`DatabaseFlags::DUP_SORT`], sorted dup items have fixed size.
///
Expand Down Expand Up @@ -354,6 +354,7 @@ bitflags! {
/// wtxn.commit()?;
/// # Ok(()) }
/// ```
#[deprecated(since="0.22.0", note="prefer using `IntegerComparator` with the `DatabaseOpenOptions::dup_sort_comparator` method instead")]
const INTEGER_DUP = ffi::MDB_INTEGERDUP;
/// With [`DatabaseFlags::DUP_SORT`], use reverse string dups.
///
Expand Down

0 comments on commit e89a293

Please sign in to comment.