37#if defined(LIBC_SCCS) && !defined(lint)
38static char sccsid[] =
"@(#)bt_put.c 8.8 (Berkeley) 7/26/94";
48#include "../include/db.h"
131 memmove(kb, &pg,
sizeof(
pgno_t));
132 memmove(kb +
sizeof(
pgno_t),
212 memmove(h->
linp + idx + 1, h->
linp + idx,
213 (nxtindex - idx) *
sizeof(
indx_t));
217 dest = (
char *)h + h->
upper;
253u_long bt_cache_hit, bt_cache_miss;
269 const DBT *key, *data;
int __bt_dleaf(BTREE *t, const DBT *key, PAGE *h, u_int idx)
int __ovfl_put(BTREE *t, const DBT *dbt, pgno_t *pg)
static EPG * bt_fast(BTREE *t, const DBT *key, const DBT *data, int *exactp)
int __bt_put(DB *dbp, DBT *key, const DBT *data, u_int flags) const
static EPG *bt_fast __P((BTREE *, const DBT *, const DBT *, int *))
EPG * __bt_search(BTREE *t, const DBT *key, int *exactp)
void __bt_setcur(BTREE *t, pgno_t pgno, u_int index)
int __bt_split(BTREE *t, PAGE *sp, const DBT *key, const DBT *data, int flags, size_t ilen, u_int32_t argskip)
int __bt_cmp(BTREE *t, const DBT *k1, EPG *e)
#define WR_BLEAF(p, key, data, flags)
#define NBLEAFDBT(ksize, dsize)
void * mpool_get(MPOOL *mp, pgno_t pgno, u_int flags)
int mpool_put(MPOOL *mp, void *page, u_int flags)
enum _btree::@506 bt_order