ITS#7594 De-init other subcursors in page_touch

vmware
Howard Chu 12 years ago
parent 92fe958805
commit e31c7d3b31
  1. 2
      libraries/liblmdb/mdb.c

@ -1636,6 +1636,8 @@ finish:
if (m2 == mc || m2->mc_snum < mc->mc_snum) continue;
if (m2->mc_pg[mc->mc_top] == mc->mc_pg[mc->mc_top]) {
m2->mc_pg[mc->mc_top] = mp;
if (mc->mc_db->md_flags & MDB_DUPSORT)
m2->mc_xcursor->mx_cursor.mc_flags &= ~C_INITIALIZED;
}
}
}

Loading…
Cancel
Save