From 0820431975cb2b8083d8671111743c65970977e5 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 28 Mar 2016 01:35:56 +0100 Subject: [PATCH] ITS#8393 fix MDB_GET_BOTH on non-dup record --- libraries/liblmdb/mdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5