From 80cd88118406acdd5e153c91a6a42c7c90804ac6 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Wed, 20 Feb 2013 12:19:45 +0100 Subject: [PATCH] Tweak MDB_INCOMPATIBLE 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 5b6ff6e..029945a 100644 --- a/libraries/liblmdb/lmdb.h +++ b/libraries/liblmdb/lmdb.h @@ -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 /** @} */ diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index a6193c7..041acfa 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -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 *