From 3a62d59c4513131c5ee5765fd33237b4f3534eaf Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 28 Jun 2011 22:34:53 -0700 Subject: [PATCH] meta init --- libraries/libmdb/mdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index a0740bcacb..de2207aa6f 100644 --- a/libraries/libmdb/mdb.c +++ b/libraries/libmdb/mdb.c @@ -902,6 +902,7 @@ mdbenv_open2(MDB_env *env, unsigned int flags) env->me_flags = flags; env->me_meta.mm_root = P_INVALID; + env->me_meta.mm_last_pg = 2; if ((i = mdbenv_read_header(env)) != 0) { if (i != ENOENT) -- 2.39.5