ITS#8699 more for cursor_del ITS#8622

Set C_DEL flag on reinit'd subcursor
ntdll
Howard Chu 8 years ago
parent 4d2154397a
commit 47ca2f7095
  1. 4
      libraries/liblmdb/mdb.c

@ -9312,8 +9312,10 @@ mdb_cursor_del0(MDB_cursor *mc)
if (m3->mc_xcursor->mx_cursor.mc_flags & C_INITIALIZED) {
if (!(node->mn_flags & F_SUBDATA))
m3->mc_xcursor->mx_cursor.mc_pg[0] = NODEDATA(node);
} else
} else {
mdb_xcursor_init1(m3, node);
m3->mc_xcursor->mx_cursor.mc_flags |= C_DEL;
}
}
}
}

Loading…
Cancel
Save