summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Chu <hyc@openldap.org>2017-01-11 11:18:57 +0000
committerHoward Chu <hyc@openldap.org>2017-01-11 11:18:57 +0000
commitc44b29eaa84c7d62931252ec0645e24f1e1cff36 (patch)
tree22363f1e74b1183fabb167af2f70562e68802c91
parent511f5880e22baddfe9fc1dee54b41a2deafc3b26 (diff)
downloadlmdb-c44b29eaa84c7d62931252ec0645e24f1e1cff36.tar.gz
lmdb-c44b29eaa84c7d62931252ec0645e24f1e1cff36.tar.bz2
lmdb-c44b29eaa84c7d62931252ec0645e24f1e1cff36.zip
ITS#8557 fix prev commit
-rw-r--r--libraries/liblmdb/mdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c
index c84afef..bb2068f 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;
}
}