From: Hallvard Furuseth Date: Sun, 23 Mar 2014 12:06:03 +0000 (+0100) Subject: Revert "Update MDB_PANIC description" (thinko). X-Git-Tag: OPENLDAP_REL_ENG_2_4_40~132^2~22 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86d9675543b82856523826c5c16fde0f8dc2b745;p=openldap Revert "Update MDB_PANIC description" (thinko). This reverts commit 6bd34d0534f1c8bfd73deaf70febd3b58a2f9d5a. --- diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index 4de1784897..62f0a485de 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, or environment had fatal error */ + /** Update of meta page failed, probably I/O 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 f4446807c5..0e5c361887 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, or environment had fatal error", + "MDB_PANIC: Update of meta page failed", "MDB_VERSION_MISMATCH: Database environment version mismatch", "MDB_INVALID: File is not an MDB file", "MDB_MAP_FULL: Environment mapsize limit reached",