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

mdb.RE/0.9
Howard Chu 9 years ago
parent 8e7cd2269d
commit 2b89f4baf1
  1. 1
      libraries/liblmdb/mdb.c

@ -2418,6 +2418,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