Fix bad merge

This commit is contained in:
Howard Chu 2011-09-05 16:15:36 -07:00
parent e5b1dce6a7
commit 513d96105d

View File

@ -2580,17 +2580,6 @@ set1:
rc = cursor->mc_txn->mt_dbxs[cursor->mc_dbi].md_cmp(key, &nodekey);
if (rc <= 0) goto set1;
}
/* If any parents have right-sibs, search.
* Otherwise, there's nothing further.
*/
for (i=0; i<cursor->mc_snum-1; i++)
if (cursor->mc_stack[i].mp_ki <
NUMKEYS(cursor->mc_stack[i].mp_page)-1)
break;
if (i == cursor->mc_snum - 1) {
/* There are no other pages */
goto set1;
}
/* If any parents have right-sibs, search.
* Otherwise, there's nothing further.
*/