ITS#8728 fix MDB_VL32 freeing overflow page

mdb.master3
Howard Chu 7 years ago
parent 0e91bde589
commit 2b397001a8
  1. 2
      libraries/liblmdb/mdb.c

@ -7041,6 +7041,8 @@ release:
if (rc) if (rc)
return rc; return rc;
} }
if (MC_OVPG(mc) == mp)
MC_SET_OVPG(mc, NULL);
mc->mc_db->md_overflow_pages -= ovpages; mc->mc_db->md_overflow_pages -= ovpages;
if (MDB_REMAPPING(env->me_flags)) if (MDB_REMAPPING(env->me_flags))

Loading…
Cancel
Save