Merge pull request #7623

c8c7c40 ITS#9500 fix regression from ITS#8662 (Howard Chu)
This commit is contained in:
luigi1111 2021-03-29 21:57:26 -04:00
commit 076254d113
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -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);