diff options
author | luigi1111 <luigi1111w@gmail.com> | 2021-03-29 21:57:26 -0400 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2021-03-29 21:57:26 -0400 |
commit | 076254d1135a1aa76a65149fdde23b9564769c25 (patch) | |
tree | 51c5b982c83bf21a868b7fcc0f9bdae8a7ebedc1 /external | |
parent | Merge pull request #7621 (diff) | |
parent | ITS#9500 fix regression from ITS#8662 (diff) | |
download | monero-076254d1135a1aa76a65149fdde23b9564769c25.tar.xz |
Merge pull request #7623
c8c7c40 ITS#9500 fix regression from ITS#8662 (Howard Chu)
Diffstat (limited to 'external')
-rw-r--r-- | external/db_drivers/liblmdb/mdb.c | 2 |
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); |