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