mdbx: alter MDBX_CURSOR_FULL description.

Change-Id: I70d13e7503d10c6050bd17e4dd8bd814e46799af
This commit is contained in:
Leonid Yuriev 2020-04-19 14:56:17 +03:00
parent 1e9cc6b0a5
commit 83e303b059
2 changed files with 4 additions and 2 deletions

3
mdbx.h
View File

@ -1449,7 +1449,8 @@ typedef enum MDBX_cursor_op {
/* Transaction has too many dirty pages, i.e transaction too big */
#define MDBX_TXN_FULL (-30788)
/* Cursor stack too deep - internal error */
/* Cursor stack too deep - this usually indicates corruption,
* i.e branch-pages loop */
#define MDBX_CURSOR_FULL (-30787)
/* Page has not enough space - internal error */

View File

@ -3180,7 +3180,8 @@ static const char *__mdbx_strerr(int errnum) {
NULL /* MDBX_TLS_FULL (-30789): unused in MDBX */,
"MDBX_TXN_FULL: Transaction has too many dirty pages,"
" i.e transaction is too big",
"MDBX_CURSOR_FULL: Internal error - Cursor stack limit reached",
"MDBX_CURSOR_FULL: Cursor stack limit reachedn - this usually indicates"
" corruption, i.e branch-pages loop",
"MDBX_PAGE_FULL: Internal error - Page has no more space",
"MDBX_UNABLE_EXTEND_MAPSIZE: Database engine was unable to extend"
" mapping, e.g. since address space is unavailable or busy,"