From: Hallvard Furuseth Date: Sat, 22 Mar 2014 21:27:10 +0000 (+0100) Subject: Update MDB_PANIC description X-Git-Tag: OPENLDAP_REL_ENG_2_4_40~132^2~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6bd34d0534f1c8bfd73deaf70febd3b58a2f9d5a;p=openldap Update MDB_PANIC description --- diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index 62f0a485de..4de1784897 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -380,7 +380,7 @@ typedef enum MDB_cursor_op { #define MDB_PAGE_NOTFOUND (-30797) /** Located page was wrong type */ #define MDB_CORRUPTED (-30796) - /** Update of meta page failed, probably I/O error */ + /** Update of meta page failed, or environment had fatal error */ #define MDB_PANIC (-30795) /** Environment version mismatch */ #define MDB_VERSION_MISMATCH (-30794) diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 0e5c361887..f4446807c5 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -1188,7 +1188,7 @@ static char *const mdb_errstr[] = { "MDB_NOTFOUND: No matching key/data pair found", "MDB_PAGE_NOTFOUND: Requested page not found", "MDB_CORRUPTED: Located page was wrong type", - "MDB_PANIC: Update of meta page failed", + "MDB_PANIC: Update of meta page failed, or environment had fatal error", "MDB_VERSION_MISMATCH: Database environment version mismatch", "MDB_INVALID: File is not an MDB file", "MDB_MAP_FULL: Environment mapsize limit reached",