Salvador Ortiz writes:
The documentation states that the Environment's flags should not overlap with the Database's ones, but MDB_NOMETASYNC and MDB_CREATE share the same value.
That doc is a current implementation detail for liblmdb developers adding new flags. I should not have put it in ldmb.h. I'll drop it and add an #if/#error check in mdb.c instead.