mdbx++: добавление обработки MDBX_MVCC_RETARDED в C++ API.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2024-08-02 19:03:34 +03:00
parent b6b126195b
commit d21ae28bb9
3 changed files with 7 additions and 0 deletions

View File

@@ -210,6 +210,10 @@ __cold const char *mdbx_liberr2str(int errnum) {
case MDBX_OUSTED:
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";
default:
return nullptr;
}