mdbx: корректировка описания MDBX_MVCC_RETARDED и соответствующего сообщения об ошибке (backport).

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2025-03-20 01:40:11 +03:00
parent 5dfe3433a8
commit 58729a2fbd
2 changed files with 2 additions and 5 deletions

View File

@@ -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;
}