Reset delete flag in cursor_put().
vmware
Howard Chu 11 years ago
parent 18a07eb7c2
commit 90c55178db
  1. 3
      libraries/liblmdb/mdb.c

@ -5688,6 +5688,9 @@ mdb_cursor_put(MDB_cursor *mc, MDB_val *key, MDB_val *data,
return rc;
}
if (mc->mc_flags & C_DEL)
mc->mc_flags ^= C_DEL;
/* Cursor is positioned, check for room in the dirty list */
if (!nospill) {
if (flags & MDB_MULTIPLE) {

Loading…
Cancel
Save