NCBI C++ ToolKit
Macros
Transaction Flags
+ Collaboration diagram for Transaction Flags:

Macros

#define MDB_TXN_BEGIN_FLAGS   MDB_RDONLY
 mdb_txn_begin() flags More...
 
#define MDB_TXN_RDONLY   MDB_RDONLY
 read-only transaction More...
 
#define MDB_TXN_WRITEMAP   MDB_WRITEMAP
 copy of MDB_env flag in writers More...
 
#define MDB_TXN_FINISHED   0x01
 txn is finished or never began More...
 
#define MDB_TXN_ERROR   0x02
 txn is unusable after an error More...
 
#define MDB_TXN_DIRTY   0x04
 must write, even if dirty list is empty More...
 
#define MDB_TXN_SPILLS   0x08
 txn or a parent has spilled pages More...
 
#define MDB_TXN_HAS_CHILD   0x10
 txn has an MDB_txn. More...
 
#define MDB_TXN_BLOCKED   (MDB_TXN_FINISHED|MDB_TXN_ERROR|MDB_TXN_HAS_CHILD)
 most operations on the txn are currently illegal More...
 

Detailed Description

Macro Definition Documentation

◆ MDB_TXN_BEGIN_FLAGS

#define MDB_TXN_BEGIN_FLAGS   MDB_RDONLY

mdb_txn_begin() flags

Definition at line 1147 of file mdb.c.

◆ MDB_TXN_BLOCKED

#define MDB_TXN_BLOCKED   (MDB_TXN_FINISHED|MDB_TXN_ERROR|MDB_TXN_HAS_CHILD)

most operations on the txn are currently illegal

Definition at line 1157 of file mdb.c.

◆ MDB_TXN_DIRTY

#define MDB_TXN_DIRTY   0x04

must write, even if dirty list is empty

Definition at line 1153 of file mdb.c.

◆ MDB_TXN_ERROR

#define MDB_TXN_ERROR   0x02

txn is unusable after an error

Definition at line 1152 of file mdb.c.

◆ MDB_TXN_FINISHED

#define MDB_TXN_FINISHED   0x01

txn is finished or never began

Definition at line 1151 of file mdb.c.

◆ MDB_TXN_HAS_CHILD

#define MDB_TXN_HAS_CHILD   0x10

txn has an MDB_txn.

mt_child

Definition at line 1155 of file mdb.c.

◆ MDB_TXN_RDONLY

#define MDB_TXN_RDONLY   MDB_RDONLY

read-only transaction

Definition at line 1148 of file mdb.c.

◆ MDB_TXN_SPILLS

#define MDB_TXN_SPILLS   0x08

txn or a parent has spilled pages

Definition at line 1154 of file mdb.c.

◆ MDB_TXN_WRITEMAP

#define MDB_TXN_WRITEMAP   MDB_WRITEMAP

copy of MDB_env flag in writers

Definition at line 1150 of file mdb.c.

Modified on Fri Jun 14 16:52:39 2024 by modify_doxy.py rev. 669887