mirror of
https://github.com/isar/libmdbx.git
synced 2025-10-18 22:09:03 +08:00
mdbx: check read/write txn overlapping for the same thread (MDBX_TXN_OVERLAPPING).
Change-Id: If3488df96bd1903d5e4ca0a1fea504075dbd4a20
This commit is contained in:
3
mdbx.h
3
mdbx.h
@@ -1479,6 +1479,9 @@ typedef enum MDBX_cursor_op {
|
||||
* e.g. a transaction that started by another thread. */
|
||||
#define MDBX_THREAD_MISMATCH (-30416)
|
||||
|
||||
/* Overlapping read and write transactions for the same thread */
|
||||
#define MDBX_TXN_OVERLAPPING (-30415)
|
||||
|
||||
/**** FUNCTIONS & RELATED STRUCTURES ******************************************/
|
||||
|
||||
/* Return a string describing a given error code.
|
||||
|
Reference in New Issue
Block a user