From 6bd34d0534f1c8bfd73deaf70febd3b58a2f9d5a Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sat, 22 Mar 2014 22:27:10 +0100 Subject: [PATCH] Update MDB_PANIC description --- libraries/liblmdb/lmdb.h | 2 +- libraries/liblmdb/mdb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/liblmdb/lmdb.h b/libraries/liblmdb/lmdb.h index 62f0a48..4de1784 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 0e5c361..f444680 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",