Reset delete flag in cursor_put().
This commit is contained in:
Howard Chu 2013-09-05 06:02:07 -07:00
parent 18a07eb7c2
commit 90c55178db

View File

@ -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) {