ITS#8393 fix MDB_GET_BOTH on non-dup record

mdb.RE/0.9
Howard Chu 9 years ago
parent 798f020c59
commit 0820431975
  1. 2
      libraries/liblmdb/mdb.c

@ -5974,8 +5974,8 @@ set1:
if (op == MDB_GET_BOTH || rc > 0) if (op == MDB_GET_BOTH || rc > 0)
return MDB_NOTFOUND; return MDB_NOTFOUND;
rc = 0; rc = 0;
*data = olddata;
} }
*data = olddata;
} else { } else {
if (mc->mc_xcursor) if (mc->mc_xcursor)

Loading…
Cancel
Save