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