ITS#9500 fix regression from ITS#8662

This commit is contained in:
Howard Chu 2021-03-14 14:29:44 +00:00
parent f8891d510b
commit b167701f86

View File

@ -6992,7 +6992,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);