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. */
|
* - The table was dropped and recreated with different flags. */
|
||||||
MDBX_INCOMPATIBLE = -30784,
|
MDBX_INCOMPATIBLE = -30784,
|
||||||
|
|
||||||
/** Invalid reuse of reader locktable slot,
|
/** Reader locktable slot was unexpectly reused or cleared by an enemy thread */
|
||||||
* e.g. read-transaction already run for current thread */
|
|
||||||
MDBX_BAD_RSLOT = -30783,
|
MDBX_BAD_RSLOT = -30783,
|
||||||
|
|
||||||
/** Transaction is not valid for requested operation,
|
/** 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",
|
" or Operation system not supported such operations",
|
||||||
"MDBX_INCOMPATIBLE: Environment or database is not compatible"
|
"MDBX_INCOMPATIBLE: Environment or database is not compatible"
|
||||||
" with the requested operation or the specified flags",
|
" with the requested operation or the specified flags",
|
||||||
"MDBX_BAD_RSLOT: Invalid reuse of reader locktable slot,"
|
"MDBX_BAD_RSLOT: Reader locktable slot was unexpectly reused or cleared by an enemy thread",
|
||||||
" e.g. read-transaction already run for current thread",
|
|
||||||
"MDBX_BAD_TXN: Transaction is not valid for requested operation,"
|
"MDBX_BAD_TXN: Transaction is not valid for requested operation,"
|
||||||
" e.g. had errored and be must aborted, has a child, or is invalid",
|
" 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"
|
"MDBX_BAD_VALSIZE: Invalid size or alignment of key or data"
|
||||||
|
|||||||
Reference in New Issue
Block a user