ITS#8321 page_touch - don't fixup the cursor we just touched

vl32b
Howard Chu 9 years ago
parent db02a71dd8
commit 69829288dc
  1. 1
      libraries/liblmdb/mdb.c

@ -2487,6 +2487,7 @@ done:
} else { } else {
for (; m2; m2=m2->mc_next) { for (; m2; m2=m2->mc_next) {
if (m2->mc_snum < mc->mc_snum) continue; if (m2->mc_snum < mc->mc_snum) continue;
if (m2 == mc) continue;
if (m2->mc_pg[mc->mc_top] == mp) { if (m2->mc_pg[mc->mc_top] == mp) {
m2->mc_pg[mc->mc_top] = np; m2->mc_pg[mc->mc_top] = np;
if ((mc->mc_db->md_flags & MDB_DUPSORT) && if ((mc->mc_db->md_flags & MDB_DUPSORT) &&

Loading…
Cancel
Save