Skip to content

Commit 6f5a480

Browse files
committed
Add a comment to the EnvFlags
1 parent f5a0c4f commit 6f5a480

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

heed/src/mdb/lmdb_flags.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ bitflags! {
2828
/// Use asynchronous msync when MDB_WRITEMAP is used.
2929
const MAP_ASYNC = ffi::MDB_MAPASYNC;
3030
/// Tie reader locktable slots to MDB_txn objects instead of to threads.
31+
// Note to self: When removing this flag from here, we must introduce an
32+
// internal-only AllEnvFlags akin to the AllDatabaseFlags bitflags.
3133
#[deprecated(since="0.22.0", note="please use `EnvOpenOptions::read_txn_with_tls` or `EnvOpenOptions::read_txn_without_tls` instead")]
3234
const NO_TLS = ffi::MDB_NOTLS;
3335
/// Don't do any locking, caller must manage their own locks.

0 commit comments

Comments
 (0)