mirror of
https://github.com/isar/libmdbx.git
synced 2025-04-01 02:32:57 +08:00
mdbx: корректировка описания MDBX_MVCC_RETARDED
и соответствующего сообщения об ошибке (backport).
This commit is contained in:
parent
5dfe3433a8
commit
58729a2fbd
3
mdbx.h
3
mdbx.h
@ -1972,8 +1972,7 @@ typedef enum MDBX_error {
|
|||||||
* recycling old MVCC snapshots. */
|
* recycling old MVCC snapshots. */
|
||||||
MDBX_OUSTED = -30411,
|
MDBX_OUSTED = -30411,
|
||||||
|
|
||||||
/** MVCC snapshot used by read transaction is outdated and could not be
|
/** MVCC snapshot used by parked transaction was bygone. */
|
||||||
* copied since corresponding meta-pages was overwritten. */
|
|
||||||
MDBX_MVCC_RETARDED = -30410,
|
MDBX_MVCC_RETARDED = -30410,
|
||||||
|
|
||||||
/* The last of MDBX-added error codes */
|
/* The last of MDBX-added error codes */
|
||||||
|
@ -199,9 +199,7 @@ __cold const char *mdbx_liberr2str(int errnum) {
|
|||||||
return "MDBX_OUSTED: The parked read transaction was outed for the sake"
|
return "MDBX_OUSTED: The parked read transaction was outed for the sake"
|
||||||
" of recycling old MVCC snapshots";
|
" of recycling old MVCC snapshots";
|
||||||
case MDBX_MVCC_RETARDED:
|
case MDBX_MVCC_RETARDED:
|
||||||
return "MDBX_MVCC_RETARDED: MVCC snapshot used by read transaction"
|
return "MDBX_MVCC_RETARDED: MVCC snapshot used by parked transaction was bygone";
|
||||||
" is outdated and could not be copied"
|
|
||||||
" since corresponding meta-pages was overwritten";
|
|
||||||
default:
|
default:
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user