37 #if defined(LIBC_SCCS) && !defined(lint) 38 static char sccsid[] =
"@(#)rec_delete.c 8.7 (Berkeley) 7/14/94";
41 #include <sys/types.h> 47 #include "../include/db.h" 100 einval:
errno = EINVAL;
184 from = (
char *)h + h->
upper;
185 memmove(from + nbytes, from, (
char *)to - from);
188 offset = h->
linp[idx];
189 for (cnt = &h->
linp[idx] - (ip = &h->
linp[0]); cnt--; ++ip)
193 ip[0] = ip[1] < offset ? ip[1] + nbytes : ip[1];
static int rec_rdelete(BTREE *t, recno_t nrec)
#define GETRLEAF(pg, indx)
int mpool_put(MPOOL *mp, void *page, u_int flags)
EPG * __rec_search(BTREE *t, recno_t recno, enum SRCHOP op)
static int rec_rdelete __P((BTREE *, recno_t))
int __rec_dleaf(BTREE *t, PAGE *h, u_int32_t idx)
int __rec_delete(DB *dbp, const DBT *key, u_int flags) const
int __ovfl_delete(BTREE *t, void *p)