LMDB  1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Cursor Flags
LMDB Internals

Macros

#define C_INITIALIZED   0x01
 
#define C_EOF   0x02
 
#define C_SUB   0x04
 
#define C_DEL   0x08
 
#define C_UNTRACK   0x40
 
#define C_WRITEMAP   MDB_TXN_WRITEMAP
 
#define C_ORIG_RDONLY   MDB_TXN_RDONLY
 

Detailed Description

Cursor state flags.

Macro Definition Documentation

#define C_INITIALIZED   0x01

cursor has been initialized and is valid

#define C_EOF   0x02

No more data

#define C_SUB   0x04

Cursor is a sub-cursor

#define C_DEL   0x08

last op was a cursor_del

#define C_UNTRACK   0x40

Un-track cursor when closing

#define C_WRITEMAP   MDB_TXN_WRITEMAP

Copy of txn flag

#define C_ORIG_RDONLY   MDB_TXN_RDONLY

Read-only cursor into the txn's original snapshot in the map. Set for read-only txns, and in mdb_page_alloc() for FREE_DBI when MDB_DEVEL & 2. Only implements code which is necessary for this.