mirror of
https://github.com/isar/libmdbx.git
synced 2025-11-06 19:08:56 +08:00
mdbx: refine description of MDBX_BAD_RSLOT.
This commit is contained in:
3
mdbx.h
3
mdbx.h
@@ -1909,8 +1909,7 @@ typedef enum MDBX_error {
|
||||
* - The table was dropped and recreated with different flags. */
|
||||
MDBX_INCOMPATIBLE = -30784,
|
||||
|
||||
/** Invalid reuse of reader locktable slot,
|
||||
* e.g. read-transaction already run for current thread */
|
||||
/** Reader locktable slot was unexpectly reused or cleared by an enemy thread */
|
||||
MDBX_BAD_RSLOT = -30783,
|
||||
|
||||
/** Transaction is not valid for requested operation,
|
||||
|
||||
@@ -146,8 +146,7 @@ __cold const char *mdbx_liberr2str(int errnum) {
|
||||
" or Operation system not supported such operations",
|
||||
"MDBX_INCOMPATIBLE: Environment or database is not compatible"
|
||||
" with the requested operation or the specified flags",
|
||||
"MDBX_BAD_RSLOT: Invalid reuse of reader locktable slot,"
|
||||
" e.g. read-transaction already run for current thread",
|
||||
"MDBX_BAD_RSLOT: Reader locktable slot was unexpectly reused or cleared by an enemy thread",
|
||||
"MDBX_BAD_TXN: Transaction is not valid for requested operation,"
|
||||
" e.g. had errored and be must aborted, has a child, or is invalid",
|
||||
"MDBX_BAD_VALSIZE: Invalid size or alignment of key or data"
|
||||
|
||||
Reference in New Issue
Block a user