diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-09-14 18:26:45 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-09-14 18:26:45 +0200 |
commit | 81ac8c49ec8f37b73f98e666928df9b7beb8906a (patch) | |
tree | 6bbe116da23a4344202720422497a52178caf843 /external | |
parent | Merge pull request #2417 (diff) | |
parent | ITS#8728 fix MDB_VL32 freeing overflow page (diff) | |
download | monero-81ac8c49ec8f37b73f98e666928df9b7beb8906a.tar.xz |
Merge pull request #2421
edda2014 ITS#8728 fix MDB_VL32 freeing overflow page (Howard Chu)
Diffstat (limited to 'external')
-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; } |