mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-02 00:14:14 +08:00
mdbx: fix MDBX_WANNA_RECOVERY description.
This commit is contained in:
parent
d91785f635
commit
70fe982c3a
2
mdbx.h
2
mdbx.h
@ -406,7 +406,7 @@ typedef enum MDBX_cursor_op {
|
||||
* - ABI version mismatch (rare case); */
|
||||
#define MDBX_EBADSIGN (-30420)
|
||||
|
||||
/* Database should be recovered, but this could be done automatically
|
||||
/* Database should be recovered, but this could NOT be done automatically
|
||||
* right now (e.g. in readonly mode and so forth). */
|
||||
#define MDBX_WANNA_RECOVERY (-30419)
|
||||
|
||||
|
@ -633,7 +633,7 @@ static const char *__mdbx_strerr(int errnum) {
|
||||
return "MDBX_EBADSIGN: Wrong signature of a runtime object(s)";
|
||||
case MDBX_WANNA_RECOVERY:
|
||||
return "MDBX_WANNA_RECOVERY: Database should be recovered, but this could "
|
||||
"be done in a read-only mode";
|
||||
"NOT be done in a read-only mode";
|
||||
case MDBX_EKEYMISMATCH:
|
||||
return "MDBX_EKEYMISMATCH: The given key value is mismatched to the "
|
||||
"current cursor position";
|
||||
|
Loading…
x
Reference in New Issue
Block a user