From: Howard Chu Date: Wed, 18 Nov 2015 21:33:51 +0000 (+0000) Subject: ITS#8313 more for ITS#8062 X-Git-Tag: accepted/tizen/5.0/unified/20181102.030725~158 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f08b70d0df323ccb33b94a648e9a1b6efd718cae;p=platform%2Fupstream%2Flmdb.git ITS#8313 more for ITS#8062 dummy flags must be init'd due to 3d46d550 --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index a0ae06c..9f29973 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -8176,6 +8176,7 @@ mdb_rebalance(MDB_cursor *mc) mn.mc_ki[mn.mc_top] += mc->mc_ki[mn.mc_top] + 1; /* We want mdb_rebalance to find mn when doing fixups */ if (mc->mc_flags & C_SUB) { + dummy.mc_flags = C_INITIALIZED; dummy.mc_next = mc->mc_txn->mt_cursors[mc->mc_dbi]; mc->mc_txn->mt_cursors[mc->mc_dbi] = &dummy; dummy.mc_xcursor = (MDB_xcursor *)&mn;