Skip to content

Commit 8e6fdd3

Browse files
committed
Added missing EnvOpenFlags
1 parent ab01f42 commit 8e6fdd3

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

src/LightningDB/EnvironmentOpenFlags.cs

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,27 @@ public enum EnvironmentOpenFlags
7070
/// Calling mdb_env_sync() ensures on-disk database integrity until next commit.
7171
/// This flag may be changed at any time using mdb_env_set_flags().
7272
/// </summary>
73-
MapAsync = 0x100000
73+
MapAsync = 0x100000,
74+
75+
/// <summary>
76+
/// MDB_NOTLS. tie reader locktable slots to MDB_txn objects instead of to threads
77+
/// </summary>
78+
NoThreadLocalStorage = 0x200000,
79+
80+
/// <summary>
81+
/// MDB_NOLOCK. don't do any locking, caller must manage their own locks
82+
/// </summary>
83+
NoLock = 0x400000,
84+
85+
/// <summary>
86+
/// MDB_NORDAHEAD. don't do readahead (no effect on Windows)
87+
/// </summary>
88+
NoReadAhead = 0x800000,
89+
90+
/// <summary>
91+
/// MDB_NOMEMINIT. don't initialize malloc'd memory before writing to datafile
92+
/// </summary>
93+
NoMemoryInitialization = 0x1000000
94+
7495
}
7596
}

0 commit comments

Comments
 (0)