mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-18 22:09:03 +08:00
mdbx: add MDBX_txn.mt_owner and MDBX_THREAD_MISMATCH.
This commit is contained in:
8
mdbx.h
8
mdbx.h
@@ -414,10 +414,14 @@ typedef enum MDBX_cursor_op {
|
||||
* when mdbx_cursor_put() called with MDBX_CURRENT option. */
|
||||
#define MDBX_EKEYMISMATCH (-30418)
|
||||
|
||||
/* Database is too large for current system, i.e. could NOT be mapped into RAM.
|
||||
*/
|
||||
/* Database is too large for current system,
|
||||
* e.g. could NOT be mapped into RAM. */
|
||||
#define MDBX_TOO_LARGE (-30417)
|
||||
|
||||
/* A thread has attempted to use a not owned object,
|
||||
* e.g. a transaction that started by another thread. */
|
||||
#define MDBX_THREAD_MISMATCH (-30416)
|
||||
|
||||
/* Statistics for a database in the environment */
|
||||
typedef struct MDBX_stat {
|
||||
uint32_t ms_psize; /* Size of a database page.
|
||||
|
Reference in New Issue
Block a user