diff options
author | Howard Chu <hyc@symas.com> | 2017-09-09 15:10:23 +0100 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2017-09-09 15:10:23 +0100 |
commit | edda20146e793b41e6b3181324ab09dd8df15053 (patch) | |
tree | a3e53fb299895d486054b84c23831589e3a980b9 | |
parent | Merge pull request #2384 (diff) | |
download | monero-edda20146e793b41e6b3181324ab09dd8df15053.tar.xz |
ITS#8728 fix MDB_VL32 freeing overflow page
Fix #2420
-rw-r--r-- | external/db_drivers/liblmdb/mdb.c | 4 |
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; } |