Skip to content

Commit

Permalink
Add a comment to the EnvFlags
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerollmops committed Dec 27, 2024
1 parent f5a0c4f commit 6f5a480
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions heed/src/mdb/lmdb_flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ bitflags! {
/// Use asynchronous msync when MDB_WRITEMAP is used.
const MAP_ASYNC = ffi::MDB_MAPASYNC;
/// Tie reader locktable slots to MDB_txn objects instead of to threads.
// Note to self: When removing this flag from here, we must introduce an
// internal-only AllEnvFlags akin to the AllDatabaseFlags bitflags.
#[deprecated(since="0.22.0", note="please use `EnvOpenOptions::read_txn_with_tls` or `EnvOpenOptions::read_txn_without_tls` instead")]
const NO_TLS = ffi::MDB_NOTLS;
/// Don't do any locking, caller must manage their own locks.
Expand Down

0 comments on commit 6f5a480

Please sign in to comment.