chickadee » lmdb-ht » db-flags

db-flags flag-name #!optional seedprocedure

Returns the bit mask for an LMDB flag, combined with the optional seed mask. To combine several flags, pass the result of one call as the seed of the next. Returns #f for an unknown flag name. The flag names are:

#:fixed-map
mmap at a fixed address
#:no-subdirectory
no environment directory
#:read-only
read only
#:write-map
use a writable mmap
#:no-meta-sync
do not fsync the metapage after commit
#:no-sync
do not fsync after commit
#:map-async
use asynchronous sync when #:write-map is used
#:no-lock
do not do locking
#:no-read-ahead
do not do readahead