aboutsummaryrefslogtreecommitdiff
path: root/external/db_drivers/liblmdb
diff options
context:
space:
mode:
Diffstat (limited to 'external/db_drivers/liblmdb')
-rw-r--r--external/db_drivers/liblmdb/mdb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/external/db_drivers/liblmdb/mdb.c b/external/db_drivers/liblmdb/mdb.c
index 377512ebe..b3de9702f 100644
--- a/external/db_drivers/liblmdb/mdb.c
+++ b/external/db_drivers/liblmdb/mdb.c
@@ -6288,6 +6288,10 @@ release:
if (rc)
return rc;
}
+#ifdef MDB_VL32
+ if (mc->mc_ovpg == mp)
+ mc->mc_ovpg = NULL;
+#endif
mc->mc_db->md_overflow_pages -= ovpages;
return 0;
}