938bc523d7
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/libdb#bd2dd025b309694daf235e93e2afc57979aed52b
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));
|