From: Howard Chu Date: Mon, 28 Mar 2016 00:35:56 +0000 (+0100) Subject: ITS#8393 fix MDB_GET_BOTH on non-dup record X-Git-Tag: LMDB_0.9.19~48 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0820431975cb2b8083d8671111743c65970977e5;p=openldap ITS#8393 fix MDB_GET_BOTH on non-dup record --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 68a2242468..2e4a3d0011 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -5974,8 +5974,8 @@ set1: if (op == MDB_GET_BOTH || rc > 0) return MDB_NOTFOUND; rc = 0; - *data = olddata; } + *data = olddata; } else { if (mc->mc_xcursor)