mdbx: refine description of MDBX_BAD_RSLOT.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2025-11-02 22:11:49 +03:00
parent 5e362b82e8
commit 354c604065
2 changed files with 2 additions and 4 deletions

3
mdbx.h
View File

@@ -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,

View File

@@ -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"