|
|
3538c6 |
*** btree/bt_page.c.orig Wed Jul 13 21:29:02 1994
|
|
|
3538c6 |
--- btree/bt_page.c Wed Jun 11 20:14:43 1997
|
|
|
3538c6 |
***************
|
|
|
3538c6 |
*** 65,70 ****
|
|
|
3538c6 |
--- 65,71 ----
|
|
|
3538c6 |
h->prevpg = P_INVALID;
|
|
|
3538c6 |
h->nextpg = t->bt_free;
|
|
|
3538c6 |
t->bt_free = h->pgno;
|
|
|
3538c6 |
+ F_SET(t, B_METADIRTY);
|
|
|
3538c6 |
|
|
|
3538c6 |
/* Make sure the page gets written back. */
|
|
|
3538c6 |
return (mpool_put(t->bt_mp, h, MPOOL_DIRTY));
|
|
|
3538c6 |
***************
|
|
|
3538c6 |
*** 92,97 ****
|
|
|
3538c6 |
--- 93,99 ----
|
|
|
3538c6 |
(h = mpool_get(t->bt_mp, t->bt_free, 0)) != NULL) {
|
|
|
3538c6 |
*npg = t->bt_free;
|
|
|
3538c6 |
t->bt_free = h->nextpg;
|
|
|
3538c6 |
+ F_SET(t, B_METADIRTY);
|
|
|
3538c6 |
return (h);
|
|
|
3538c6 |
}
|
|
|
3538c6 |
return (mpool_new(t->bt_mp, npg));
|