From ccdab0e8c20c25693d102ae440378c038c7bf51d Mon Sep 17 00:00:00 2001 From: D4 Date: Tue, 12 Mar 2019 04:58:36 -0700 Subject: [PATCH] updated lmdb --- deps/lmdb | 2 +- lib/db.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/lmdb b/deps/lmdb index 86a90ca..22af328 160000 --- a/deps/lmdb +++ b/deps/lmdb @@ -1 +1 @@ -Subproject commit 86a90cad721cbdc0bb0a9c3bf15396f5c946ae95 +Subproject commit 22af3288c7a5e7130d8031d6c63162018484f8ec diff --git a/lib/db.c b/lib/db.c index 72b4fc9..c89b307 100644 --- a/lib/db.c +++ b/lib/db.c @@ -54,7 +54,7 @@ STATIC_ASSERT(DB_NOTLS == MDB_NOTLS, "mismatched MDB_NOTLS"); STATIC_ASSERT(DB_NOLOCK == MDB_NOLOCK, "mismatched MDB_NOLOCK"); STATIC_ASSERT(DB_NORDAHEAD == MDB_NORDAHEAD, "mismatched MDB_NORDAHEAD"); STATIC_ASSERT(DB_NOMEMINIT == MDB_NOMEMINIT, "mismatched MDB_NOMEMINIT"); -STATIC_ASSERT(DB_PREVMETA == MDB_PREVMETA, "mismatched MDB_PREVMETA"); +STATIC_ASSERT(DB_PREVMETA == MDB_PREVSNAPSHOT, "mismatched MDB_PREVSNAPSHOT"); // check db flags STATIC_ASSERT(DB_REVERSEKEY == MDB_REVERSEKEY, "mismatched MDB_REVERSEKEY");