From: Howard Chu Date: Wed, 11 Jan 2017 11:18:57 +0000 (+0000) Subject: ITS#8557 fix prev commit X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c44b29eaa84c7d62931252ec0645e24f1e1cff36;p=openldap ITS#8557 fix prev commit --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index c84afef4dd..bb2068fe8d 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -6209,8 +6209,8 @@ mdb_page_search_root(MDB_cursor *mc, MDB_val *key, int flags) /* if already init'd, see if we're already in right place */ if (mc->mc_flags & C_INITIALIZED) { if (mc->mc_ki[mc->mc_top] == i) { - mp = mc->mc_pg[mc->mc_top]; mc->mc_top = mc->mc_snum++; + mp = mc->mc_pg[mc->mc_top]; goto ready; } }