mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-18 22:09:03 +08:00
mdbx: rename internal flags & fields for clarity.
Change-Id: I79d6d8e88b0b4c30cbb8a464ca17f07dc2ab44c6
This commit is contained in:
8
mdbx.h
8
mdbx.h
@@ -2746,10 +2746,10 @@ LIBMDBX_API int mdbx_dbi_dupsort_depthmask(MDBX_txn *txn, MDBX_dbi dbi,
|
||||
* discarding result from the last argument.
|
||||
*
|
||||
* Returns A non-zero error value on failure and 0 on success. */
|
||||
#define MDBX_TBL_DIRTY 0x01 /* DB was written in this txn */
|
||||
#define MDBX_TBL_STALE 0x02 /* Named-DB record is older than txnID */
|
||||
#define MDBX_TBL_FRESH 0x04 /* Named-DB handle opened in this txn */
|
||||
#define MDBX_TBL_CREAT 0x08 /* Named-DB handle created in this txn */
|
||||
#define MDBX_DBI_DIRTY 0x01 /* DB was written in this txn */
|
||||
#define MDBX_DBI_STALE 0x02 /* Named-DB record is older than txnID */
|
||||
#define MDBX_DBI_FRESH 0x04 /* Named-DB handle opened in this txn */
|
||||
#define MDBX_DBI_CREAT 0x08 /* Named-DB handle created in this txn */
|
||||
LIBMDBX_API int mdbx_dbi_flags_ex(MDBX_txn *txn, MDBX_dbi dbi, unsigned *flags,
|
||||
unsigned *state);
|
||||
LIBMDBX_API int mdbx_dbi_flags(MDBX_txn *txn, MDBX_dbi dbi, unsigned *flags);
|
||||
|
Reference in New Issue
Block a user