Merge pull request #7622

ab5f0ec ITS#9500 fix regression from ITS#8662 (Howard Chu)
This commit is contained in:
luigi1111 2021-03-29 21:56:40 -04:00
commit 0b0bcbad95
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_size = 0;
xdata.mv_data = ""; xdata.mv_data = "";
leaf = NODEPTR(mc->mc_pg[mc->mc_top], mc->mc_ki[mc->mc_top]); 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; xflags = MDB_CURRENT|MDB_NOSPILL;
} else { } else {
mdb_xcursor_init1(mc, leaf); mdb_xcursor_init1(mc, leaf);