From: Howard Chu Date: Wed, 29 Jun 2011 05:34:53 +0000 (-0700) Subject: meta init X-Git-Tag: OPENLDAP_REL_ENG_2_4_27~148^2~177 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3a62d59c4513131c5ee5765fd33237b4f3534eaf;p=openldap meta init --- 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)