summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHallvard Furuseth <hallvard@openldap.org>2017-03-04 13:03:15 +0100
committerHallvard Furuseth <hallvard@openldap.org>2017-03-04 13:03:15 +0100
commit58ba039b8f30733ad9456cb3a31f9c459e6e0ffe (patch)
tree6cf74753187183ed252713ecb37d8a805d27171e
parente36517dbbe157207cde3289776b76ae6d7bd1877 (diff)
downloadlmdb-58ba039b8f30733ad9456cb3a31f9c459e6e0ffe.tar.gz
lmdb-58ba039b8f30733ad9456cb3a31f9c459e6e0ffe.tar.bz2
lmdb-58ba039b8f30733ad9456cb3a31f9c459e6e0ffe.zip
ITS#8582 MDB_LOCK_VERSION = 2 due to format change
-rw-r--r--libraries/liblmdb/mdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c
index ac381d9..21f50f2 100644
--- a/libraries/liblmdb/mdb.c
+++ b/libraries/liblmdb/mdb.c
@@ -620,7 +620,7 @@ static txnid_t mdb_debug_start;
/** The version number for a database's datafile format. */
#define MDB_DATA_VERSION ((MDB_DEVEL) ? 999 : 1)
/** The version number for a database's lockfile format. */
-#define MDB_LOCK_VERSION ((MDB_DEVEL) ? 999 : 1)
+#define MDB_LOCK_VERSION ((MDB_DEVEL) ? 999 : 2)
/** @brief The max size of a key we can write, or 0 for computed max.
*