34#if defined(LIBC_SCCS) && !defined(lint)
35static char sccsid[] =
"@(#)rec_put.c 8.7 (Berkeley) 8/18/94";
45#include "../include/db.h"
132 if (nrec <= t->bt_nrecs)
136einval:
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;
int __ovfl_put(BTREE *t, const DBT *dbt, pgno_t *pg)
int __bt_split(BTREE *t, PAGE *sp, const DBT *key, const DBT *data, int flags, size_t ilen, u_int32_t argskip)
#define WR_RLEAF(p, data, flags)
int mpool_put(MPOOL *mp, void *page, u_int flags)
int __rec_dleaf(BTREE *t, PAGE *h, u_int32_t idx)
int __rec_iput(BTREE *t, recno_t nrec, const DBT *data, u_int flags)
int __rec_put(DB *dbp, DBT *key, const DBT *data, u_int flags) const
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)