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