Tweak MDB_INCOMPATIBLE description
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 20 Feb 2013 11:19:45 +0000 (12:19 +0100)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 20 Feb 2013 11:19:45 +0000 (12:19 +0100)
libraries/liblmdb/lmdb.h
libraries/liblmdb/mdb.c

index 5b6ff6e..029945a 100644 (file)
@@ -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
 /** @} */
index a6193c7..041acfa 100644 (file)
@@ -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 *