1 --- bt_seq.c.orig 2008-10-09 11:40:48.000000000 -0700
2 +++ bt_seq.c 2008-10-09 11:43:28.000000000 -0700
3 @@ -387,18 +387,19 @@ __bt_first(t, key, erval, exactp)
8 if (h->prevpg == P_INVALID)
10 if (h->pgno != save.page->pgno)
11 mpool_put(t->bt_mp, h, 0);
12 - if ((h = mpool_get(t->bt_mp,
13 + if ((hprev = mpool_get(t->bt_mp,
14 h->prevpg, 0)) == NULL) {
15 if (h->pgno == save.page->pgno)
21 + ep->page = h = hprev;
22 ep->index = NEXTINDEX(h);