projects
/
platform
/
upstream
/
lmdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e36517d
)
ITS#8582 MDB_LOCK_VERSION = 2 due to format change
author
Hallvard Furuseth
<hallvard@openldap.org>
Sat, 4 Mar 2017 12:03:15 +0000
(13:03 +0100)
committer
Hallvard Furuseth
<hallvard@openldap.org>
Sat, 4 Mar 2017 12:03:15 +0000
(13:03 +0100)
libraries/liblmdb/mdb.c
patch
|
blob
|
history
diff --git
a/libraries/liblmdb/mdb.c
b/libraries/liblmdb/mdb.c
index
ac381d9
..
21f50f2
100644
(file)
--- 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.
*