summaryrefslogtreecommitdiffstats
path: root/lib/libc/db/btree/bt_page.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-03-28 07:31:02 +0000
committerdelphij <delphij@FreeBSD.org>2009-03-28 07:31:02 +0000
commit1db7e98746958564da51eee2a32c7c3f1b56e03d (patch)
treeed6c7564fb2f2d25581d74c48ca0074066b16e39 /lib/libc/db/btree/bt_page.c
parent2ca1d8e1e96f9ca5abe40be147c7076163b69c68 (diff)
downloadFreeBSD-src-1db7e98746958564da51eee2a32c7c3f1b56e03d.zip
FreeBSD-src-1db7e98746958564da51eee2a32c7c3f1b56e03d.tar.gz
Minor changes from Berkeley DB 1.86 and further improvements from OpenBSD.
This does not include the new hash routines since they will cause problems when reading old hash files. Since mpool(3) has been changed, provide a compatibility shim for older binaries. Obtained from: OpenBSD
Diffstat (limited to 'lib/libc/db/btree/bt_page.c')
-rw-r--r--lib/libc/db/btree/bt_page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/db/btree/bt_page.c b/lib/libc/db/btree/bt_page.c
index face4b1..ab5e359 100644
--- a/lib/libc/db/btree/bt_page.c
+++ b/lib/libc/db/btree/bt_page.c
@@ -90,5 +90,5 @@ __bt_new(BTREE *t, pgno_t *npg)
F_SET(t, B_METADIRTY);
return (h);
}
- return (mpool_new(t->bt_mp, npg));
+ return (mpool_new(t->bt_mp, npg, MPOOL_PAGE_NEXT));
}
OpenPOWER on IntegriCloud