mirror of
https://github.com/isar/libmdbx.git
synced 2025-03-29 13:12:58 +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. */
|
||||
MDBX_OUSTED = -30411,
|
||||
|
||||
/** MVCC snapshot used by read transaction is outdated and could not be
|
||||
* copied since corresponding meta-pages was overwritten. */
|
||||
/** MVCC snapshot used by parked transaction was bygone. */
|
||||
MDBX_MVCC_RETARDED = -30410,
|
||||
|
||||
/* 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"
|
||||
" of recycling old MVCC snapshots";
|
||||
case MDBX_MVCC_RETARDED:
|
||||
return "MDBX_MVCC_RETARDED: MVCC snapshot used by read transaction"
|
||||
" is outdated and could not be copied"
|
||||
" since corresponding meta-pages was overwritten";
|
||||
return "MDBX_MVCC_RETARDED: MVCC snapshot used by parked transaction was bygone";
|
||||
default:
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user