Back to index

openldap  2.4.31
Defines
Write Flags
Public API
Collaboration diagram for Write Flags:

Defines

#define MDB_NOOVERWRITE   0x10
 For put: Don't write if the key already exists.
#define MDB_NODUPDATA   0x20
 Only for MDB_DUPSORT
For put: don't write if the key and data pair already exist.
#define MDB_CURRENT   0x40
 For mdb_cursor_put: overwrite the current key/data pair.
#define MDB_RESERVE   0x10000
 For put: Just reserve space for data, don't copy it.
#define MDB_APPEND   0x20000
 Data is being appended, don't split full pages.
#define MDB_MULTIPLE   0x40000
 Store multiple data items in one call.

Define Documentation

#define MDB_APPEND   0x20000

Data is being appended, don't split full pages.

Definition at line 197 of file mdb.h.

#define MDB_CURRENT   0x40

For mdb_cursor_put: overwrite the current key/data pair.

Definition at line 191 of file mdb.h.

#define MDB_MULTIPLE   0x40000

Store multiple data items in one call.

Definition at line 199 of file mdb.h.

#define MDB_NODUPDATA   0x20

Only for MDB_DUPSORT
For put: don't write if the key and data pair already exist.


For mdb_cursor_del: remove all duplicate data items.

Definition at line 189 of file mdb.h.

#define MDB_NOOVERWRITE   0x10

For put: Don't write if the key already exists.

Definition at line 184 of file mdb.h.

#define MDB_RESERVE   0x10000

For put: Just reserve space for data, don't copy it.

Return a pointer to the reserved space.

Definition at line 195 of file mdb.h.