ITS#8393 fix MDB_GET_BOTH on non-dup record

rawpart
Howard Chu 9 years ago
parent e308f02e09
commit d0b80db727
  1. 2
      libraries/liblmdb/mdb.c

@ -6794,8 +6794,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