mdbx: добавление поддержки MDBX_OUSTED в mdbx_strerror() и C++ API.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2024-07-24 15:27:48 +03:00
parent cb743d44fc
commit 2e7d325cf1
4 changed files with 8 additions and 2 deletions

View File

@@ -168,6 +168,9 @@ __cold const char *mdbx_liberr2str(int errnum) {
case MDBX_DANGLING_DBI:
return "MDBX_DANGLING_DBI: Some cursors and/or other resources should be"
" closed before subDb or corresponding DBI-handle could be (re)used";
case MDBX_OUSTED:
return "MDBX_OUSTED: The parked read transaction was outed for the sake"
" of recycling old MVCC snapshots";
default:
return nullptr;
}