|
LMDB
1.0
|
Macros | |
| #define | MDB_TXN_BEGIN_FLAGS (MDB_NOMETASYNC|MDB_NOSYNC|MDB_RDONLY) |
| #define | MDB_TXN_NOMETASYNC MDB_NOMETASYNC |
| #define | MDB_TXN_NOSYNC MDB_NOSYNC |
| #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_DIRTYNUM 0x20 |
| #define | MDB_TXN_PREPARE 0x40 |
| #define | MDB_TXN_DROPPED 0x80 |
| #define | MDB_TXN_BLOCKED (MDB_TXN_FINISHED|MDB_TXN_ERROR|MDB_TXN_HAS_CHILD|MDB_TXN_PREPARE|MDB_TXN_DROPPED) |
| #define MDB_TXN_BEGIN_FLAGS (MDB_NOMETASYNC|MDB_NOSYNC|MDB_RDONLY) |
mdb_txn_begin() flags
| #define MDB_TXN_NOMETASYNC MDB_NOMETASYNC |
don't sync meta for this txn on commit
| #define MDB_TXN_NOSYNC MDB_NOSYNC |
don't sync this txn on commit
| #define MDB_TXN_RDONLY MDB_RDONLY |
read-only transaction
| #define MDB_TXN_WRITEMAP MDB_WRITEMAP |
copy of MDB_env flag in writers
| #define MDB_TXN_FINISHED 0x01 |
txn is finished or never began
| #define MDB_TXN_ERROR 0x02 |
txn is unusable after an error
| #define MDB_TXN_DIRTY 0x04 |
must write, even if dirty list is empty
| #define MDB_TXN_SPILLS 0x08 |
txn or a parent has spilled pages
| #define MDB_TXN_HAS_CHILD 0x10 |
txn has an MDB_txn.mt_child
| #define MDB_TXN_DIRTYNUM 0x20 |
dirty list uses nump list
| #define MDB_TXN_PREPARE 0x40 |
prepare txn, don't fully commit
| #define MDB_TXN_DROPPED 0x80 |
main DBI has been dropped, env will reset
| #define MDB_TXN_BLOCKED (MDB_TXN_FINISHED|MDB_TXN_ERROR|MDB_TXN_HAS_CHILD|MDB_TXN_PREPARE|MDB_TXN_DROPPED) |
most operations on the txn are currently illegal
1.8.2-20120930