I'd like to be able to know if a LMDB transaction is active, valid, dirty, read-only,
From the documentation I read that such information is in mt_flags of the mdb_txn
structure, which is opaque. I don't see any function exposing mt_flags. Is there any
other way to read that information?