Tweak MDB_INCOMPATIBLE description

vmware
Hallvard Furuseth 12 years ago
parent fbd76c44e4
commit 80cd881184
  1. 2
      libraries/liblmdb/lmdb.h
  2. 2
      libraries/liblmdb/mdb.c

@ -362,7 +362,7 @@ typedef enum MDB_cursor_op {
#define MDB_PAGE_FULL (-30786)
/** Database contents grew beyond environment mapsize */
#define MDB_MAP_RESIZED (-30785)
/** Operation is incompatible with database */
/** Database flags changed or would change */
#define MDB_INCOMPATIBLE (-30784)
#define MDB_LAST_ERRCODE MDB_INCOMPATIBLE
/** @} */

@ -1073,7 +1073,7 @@ static char *const mdb_errstr[] = {
"MDB_CURSOR_FULL: Internal error - cursor stack limit reached",
"MDB_PAGE_FULL: Internal error - page has no more space",
"MDB_MAP_RESIZED: Database contents grew beyond environment mapsize",
"MDB_INCOMPATIBLE: Operation is incompatible with database",
"MDB_INCOMPATIBLE: Database flags changed or would change",
};
char *

Loading…
Cancel
Save