From 8fff90db7ed1e650395f39f9e8b22673aa74aa2b 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 a366b40245..acab07b829 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -6771,8 +6771,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