From 8acb7550349352522a4e2eb10bfa27850df89079 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 11 Sep 2011 23:13:36 -0700 Subject: [PATCH] One more sub-cursor fix --- libraries/libmdb/mdb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/libmdb/mdb.c b/libraries/libmdb/mdb.c index 225ffc4195..386912464e 100644 --- a/libraries/libmdb/mdb.c +++ b/libraries/libmdb/mdb.c @@ -3010,6 +3010,9 @@ set3: } } else { + if (mc->mc_db->md_flags & MDB_DUPSORT) { + mc->mc_xcursor->mx_cursor.mc_flags &= ~C_INITIALIZED; + } if ((rc = mdb_read_data(mc->mc_txn, leaf, data)) != MDB_SUCCESS) return rc; } -- 2.39.5