aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-03-29 21:56:40 -0400
committerluigi1111 <luigi1111w@gmail.com>2021-03-29 21:56:40 -0400
commit0b0bcbad95ee40adcc151b6820f788e99b1bfba9 (patch)
tree0bf2731ed9c4727561df29e912ced0d1a8398110
parentMerge pull request #7620 (diff)
parentITS#9500 fix regression from ITS#8662 (diff)
downloadmonero-0b0bcbad95ee40adcc151b6820f788e99b1bfba9.tar.xz
Merge pull request #7622
ab5f0ec ITS#9500 fix regression from ITS#8662 (Howard Chu)
-rw-r--r--external/db_drivers/liblmdb/mdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/db_drivers/liblmdb/mdb.c b/external/db_drivers/liblmdb/mdb.c
index 8699b445e..96c741f66 100644
--- a/external/db_drivers/liblmdb/mdb.c
+++ b/external/db_drivers/liblmdb/mdb.c
@@ -7867,7 +7867,7 @@ put_sub:
xdata.mv_size = 0;
xdata.mv_data = "";
leaf = NODEPTR(mc->mc_pg[mc->mc_top], mc->mc_ki[mc->mc_top]);
- if (flags == MDB_CURRENT) {
+ if ((flags & (MDB_CURRENT|MDB_APPENDDUP)) == MDB_CURRENT) {
xflags = MDB_CURRENT|MDB_NOSPILL;
} else {
mdb_xcursor_init1(mc, leaf);