37#if defined(LIBC_SCCS) && !defined(lint)
38static char sccsid[] =
"@(#)rec_delete.c 8.7 (Berkeley) 7/14/94";
47#include "../include/db.h"
100einval:
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];
int __ovfl_delete(BTREE *t, void *p)
#define GETRLEAF(pg, indx)
int mpool_put(MPOOL *mp, void *page, u_int flags)
int __rec_delete(DB *dbp, const DBT *key, u_int flags) const
static int rec_rdelete __P((BTREE *, recno_t))
static int rec_rdelete(BTREE *t, recno_t nrec)
int __rec_dleaf(BTREE *t, PAGE *h, u_int32_t idx)
EPG * __rec_search(BTREE *t, recno_t recno, enum SRCHOP op)