mirror of
https://github.com/isar/libmdbx.git
synced 2025-02-01 04:48:20 +08:00
mdbx: fix mdbx_strerror() for MDBX_BUSY error.
Change-Id: Iea02f1daa3f52a9b737366e9af3c7def748ab523
This commit is contained in:
parent
efe400264f
commit
6a99303ec1
@ -3236,7 +3236,7 @@ static const char *__mdbx_strerr(int errnum) {
|
||||
" or environment is already used while opening with MDBX_EXCLUSIVE flag",
|
||||
};
|
||||
|
||||
if (errnum >= MDBX_KEYEXIST && errnum <= MDBX_LAST_LMDB_ERRCODE) {
|
||||
if (errnum >= MDBX_KEYEXIST && errnum <= MDBX_BUSY) {
|
||||
int i = errnum - MDBX_KEYEXIST;
|
||||
return tbl[i];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user