mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-30 11:29:19 +08:00
mdbx: fix MDBX_BUSY comment/description (typo).
This commit is contained in:
parent
96a0647253
commit
b1c7fa30c0
2
mdbx.h
2
mdbx.h
@ -424,7 +424,7 @@ typedef enum MDBX_cursor_op {
|
||||
#define MDBX_BAD_DBI (-30780)
|
||||
/* Unexpected problem - txn should abort */
|
||||
#define MDBX_PROBLEM (-30779)
|
||||
/* Unexpected problem - txn should abort */
|
||||
/* Another write transaction is running */
|
||||
#define MDBX_BUSY (-30778)
|
||||
/* The last defined error code */
|
||||
#define MDBX_LAST_ERRCODE MDBX_BUSY
|
||||
|
@ -708,7 +708,7 @@ static const char *__mdbx_strerr(int errnum) {
|
||||
"DUPFIXED size",
|
||||
"MDBX_BAD_DBI: The specified DBI handle was closed/changed unexpectedly",
|
||||
"MDBX_PROBLEM: Unexpected problem - txn should abort",
|
||||
"MDBX_BUSY: Another write transation is started",
|
||||
"MDBX_BUSY: Another write transaction is started",
|
||||
};
|
||||
|
||||
if (errnum >= MDBX_KEYEXIST && errnum <= MDBX_LAST_ERRCODE) {
|
||||
|
Loading…
Reference in New Issue
Block a user