---
name: "mdb_mt_dbflag"
section: "3"
platform: "linux"
package: "lmdb-doc"
version: "0.9.31-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mdb_mt_dbflag"
---

# mdb\_mt\_dbflag(3)

Transaction DB Flags

## NAME

mt\_dbflag - Transaction DB Flags

## SYNOPSIS

### Macros

\#define **DB\_DIRTY**   0x01\
 \#define **DB\_STALE**   0x02\
 \#define **DB\_NEW**   0x04\
 \#define **DB\_VALID**   0x08\
 \#define **DB\_USRVALID**   0x10\
 \#define **DB\_DUPDATA**   0x20\

## Detailed Description

## Macro Definition Documentation

### #define DB\_DIRTY 0x01

DB was written in this txn

### #define DB\_STALE 0x02

Named-DB record is older than txnID

### #define DB\_NEW 0x04

Named-DB handle opened in this txn

### #define DB\_VALID 0x08

DB handle is valid, see also **MDB\_VALID**

### #define DB\_USRVALID 0x10

As **DB\_VALID**, but not set for **FREE\_DBI**

### #define DB\_DUPDATA 0x20

DB is **MDB\_DUPSORT** data

## Author

Generated automatically by Doxygen for LMDB from the source code.
