34 #if defined(LIBC_SCCS) && !defined(lint) 35 static char sccsid[] =
"@(#)rec_put.c 8.7 (Berkeley) 8/18/94";
38 #include <sys/types.h> 45 #include "../include/db.h" 132 if (nrec <= t->bt_nrecs)
136 einval:
errno = EINVAL;
245 if (nrec < t->bt_nrecs &&
267 memmove(h->
linp + idx + 1, h->
linp + idx,
268 (nxtindex - idx) *
sizeof(
indx_t));
272 dest = (
char *)h + h->
upper;
#define WR_RLEAF(p, data, flags)
int mpool_put(MPOOL *mp, void *page, u_int flags)
EPG * __rec_search(BTREE *t, recno_t recno, enum SRCHOP op)
int __rec_ret(BTREE *t, EPG *e, recno_t nrec, DBT *key, DBT *data)
int __rec_dleaf(BTREE *t, PAGE *h, u_int32_t idx)
int __bt_split(BTREE *t, PAGE *sp, const DBT *key, const DBT *data, int flags, size_t ilen, u_int32_t argskip)
int __rec_put(DB *dbp, DBT *key, const DBT *data, u_int flags) const
int __rec_iput(BTREE *t, recno_t nrec, const DBT *data, u_int flags)
int __ovfl_put(BTREE *t, const DBT *dbt, pgno_t *pg)