chickadee » lmdb-lolevel » mdb-env-set-flags

mdb-env-set-flags env flags onoffprocedure

Set environment flags.

This may be used to set some flags in addition to those from (mdb-env-open), or to unset these flags. If several threads change the flags at the same time, the result is undefined.

An environment handle returned by (mdb-env-create)
The flags to change, bitwise OR'ed together
A non-zero value sets the flags, zero clears them.

Some possible error conditions:

(exn lmdb EINVAL)
an invalid parameter was specified.