Fix previous commit

This commit is contained in:
Howard Chu 2011-09-08 10:08:21 -07:00
parent 6ac14938e2
commit dac3fae3b5

View file

@ -4105,7 +4105,8 @@ newsep:
rc = mdb_add_node(mc, j, &rkey, &rdata, pgno, flags);
}
if (mc->mc_pg[mc->mc_top] == copy)
/* reset back to original page */
if (newindx < split_indx)
mc->mc_pg[mc->mc_top] = mp;
nkeys = NUMKEYS(copy);