DOKK / manpages / debian 10 / lmdb-doc / mdb_txn.3.en
mdb_txn(3) Library Functions Manual mdb_txn(3)

mdb_txn


#define MDB_TXN_BEGIN_FLAGS MDB_RDONLY
#define MDB_TXN_RDONLY MDB_RDONLY
#define MDB_TXN_WRITEMAP MDB_WRITEMAP
#define MDB_TXN_FINISHED 0x01
#define MDB_TXN_ERROR 0x02
#define MDB_TXN_DIRTY 0x04
#define MDB_TXN_SPILLS 0x08
#define MDB_TXN_HAS_CHILD 0x10
#define MDB_TXN_BLOCKED (MDB_TXN_FINISHED|MDB_TXN_ERROR|MDB_TXN_HAS_CHILD)

mdb_txn_begin() flags

read-only transaction

copy of MDB_env flag in writers

txn is finished or never began

txn is unusable after an error

must write, even if dirty list is empty

txn or a parent has spilled pages

txn has an MDB_txn.mt_child

most operations on the txn are currently illegal

Generated automatically by Doxygen for LMDB from the source code.

Mon Jul 16 2018 LMDB