Lines Matching refs:pChild
8653 MemPage *pChild = 0; /* Pointer to a new child page */ in balance_deeper() local
8666 rc = allocateBtreePage(pBt,&pChild,&pgnoChild,pRoot->pgno,0); in balance_deeper()
8667 copyNodeContent(pRoot, pChild, &rc); in balance_deeper()
8674 releasePage(pChild); in balance_deeper()
8677 assert( sqlite3PagerIswriteable(pChild->pDbPage) ); in balance_deeper()
8679 assert( pChild->nCell==pRoot->nCell || CORRUPT_DB ); in balance_deeper()
8681 TRACE(("BALANCE: copy root %d into %d\n", pRoot->pgno, pChild->pgno)); in balance_deeper()
8684 memcpy(pChild->aiOvfl, pRoot->aiOvfl, in balance_deeper()
8686 memcpy(pChild->apOvfl, pRoot->apOvfl, in balance_deeper()
8688 pChild->nOverflow = pRoot->nOverflow; in balance_deeper()
8691 zeroPage(pRoot, pChild->aData[0] & ~PTF_LEAF); in balance_deeper()
8694 *ppChild = pChild; in balance_deeper()