mdbx: fix MDBX_WANNA_RECOVERY description.

This commit is contained in:
Leo Yuriev 2017-05-29 19:27:49 +03:00
parent d91785f635
commit 70fe982c3a
2 changed files with 2 additions and 2 deletions

2
mdbx.h
View File

@ -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)

View File

@ -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";