ITS#8728 fix MDB_VL32 freeing overflow page

Fix #2420
This commit is contained in:
Howard Chu 2017-09-09 15:10:23 +01:00
parent fda88c8d28
commit bbb07f8847
No known key found for this signature in database
GPG key ID: FD2A70B44AB11BA7

View file

@ -6288,6 +6288,10 @@ release:
if (rc) if (rc)
return rc; return rc;
} }
#ifdef MDB_VL32
if (mc->mc_ovpg == mp)
mc->mc_ovpg = NULL;
#endif
mc->mc_db->md_overflow_pages -= ovpages; mc->mc_db->md_overflow_pages -= ovpages;
return 0; return 0;
} }