PGNO_ROOT
for (pgno = PGNO_ROOT;;) {
for (pgno = PGNO_ROOT;;) {
if (NUM_ENT(h) == 2 && h->pgno != PGNO_ROOT) {
if (h->pgno == PGNO_ROOT || NUM_ENT(h) != 1)
if (pgno != PGNO_ROOT || nitems != 1)
pgno = PGNO_ROOT;
parent->pgno = PGNO_ROOT;
__bam_ca_rsplit(dbp, child->pgno, PGNO_ROOT);
pgno = PGNO_ROOT;
__bam_lget(dbc, 0, PGNO_ROOT, DB_LOCK_WRITE, &rootlock)) != 0)
P_INIT(root, dbp->pgsize, PGNO_ROOT, PGNO_INVALID,
rootsplit = pgno == PGNO_ROOT;
PGNO_ROOT, PGNO_INVALID, PGNO_INVALID,
PGNO_ROOT, PGNO_INVALID, PGNO_INVALID,
pgno = PGNO_ROOT;
pagep->pgno = PGNO_ROOT;
P_INIT(pagep, file_dbp->pgsize, PGNO_ROOT,
if (argp->total && PGNO(pagep) == PGNO_ROOT)
if (argp->total && PGNO(pagep) == PGNO_ROOT)
if (argp->total && PGNO(pagep) == PGNO_ROOT)
if (argp->total && PGNO(pagep) == PGNO_ROOT)
if (NUM_ENT(h) == 0 && h->pgno != PGNO_ROOT) {
pg = PGNO_ROOT;
if (PGNO(h) == PGNO_ROOT)
pgno = PGNO_ROOT;
pg = PGNO_ROOT;
ret = cp->csp[0].page->pgno == PGNO_ROOT ?
PGNO_ROOT, PGNO_INVALID, PGNO_INVALID, lp->level + 1, P_IBTREE);
PGNO_ROOT, PGNO_INVALID, PGNO_INVALID, lp->level + 1, P_IRECNO);
pgno = PGNO_ROOT;
if ((ret = __bam_lget(dbc, 0, PGNO_ROOT, DB_LOCK_READ, &lock)) != 0)
pgno = PGNO_ROOT;
for (i = PGNO_ROOT;; ++i) {
(TYPE(h) == P_LRECNO && h->pgno == PGNO_ROOT))