Home | History | Annotate | Download | only in dist

Lines Matching defs:pChild

58325   MemPage *pChild = 0;           /* Pointer to a new child page */
58338 rc = allocateBtreePage(pBt,&pChild,&pgnoChild,pRoot->pgno,0);
58339 copyNodeContent(pRoot, pChild, &rc);
58346 releasePage(pChild);
58349 assert( sqlite3PagerIswriteable(pChild->pDbPage) );
58351 assert( pChild->nCell==pRoot->nCell );
58353 TRACE(("BALANCE: copy root %d into %d\n", pRoot->pgno, pChild->pgno));
58355 /* Copy the overflow cells from pRoot to pChild */
58356 memcpy(pChild->aiOvfl, pRoot->aiOvfl,
58358 memcpy(pChild->apOvfl, pRoot->apOvfl,
58360 pChild->nOverflow = pRoot->nOverflow;
58362 /* Zero the contents of pRoot. Then install pChild as the right-child. */
58363 zeroPage(pRoot, pChild->aData[0] & ~PTF_LEAF);
58366 *ppChild = pChild;
146542 RtreeNode *pChild;
146568 rc = nodeAcquire(pRtree, iBest, pNode, &pChild);
146570 pNode = pChild;
146880 RtreeNode *pChild = nodeHashLookup(pRtree, iRowid);
146881 if( pChild ){
146882 nodeRelease(pRtree, pChild->pParent);
146884 pChild->pParent = pNode;
147039 RtreeNode *pChild = pLeaf;
147040 while( rc==SQLITE_OK && pChild->iNode!=1 && pChild->pParent==0 ){
147042 sqlite3_bind_int64(pRtree->pReadParent, 1, pChild->iNode);
147048 /* Before setting pChild->pParent, test that we are not creating a
147049 ** loop of references (as we would if, say, pChild==pParent). We don't
147056 rc2 = nodeAcquire(pRtree, iNode, 0, &pChild->pParent);
147061 if( rc==SQLITE_OK && !pChild->pParent ) rc = SQLITE_CORRUPT_VTAB;
147062 pChild = pChild->pParent;
147289 RtreeNode *pChild = nodeHashLookup(pRtree, pCell->iRowid);
147290 if( pChild ){
147291 nodeRelease(pRtree, pChild->pParent);
147293 pChild->pParent = pNode;
147405 RtreeNode *pChild;
147407 rc = nodeAcquire(pRtree, iChild, pRoot, &pChild);
147409 rc = removeNode(pRtree, pChild, pRtree->iDepth-1);
147411 rc2 = nodeRelease(pRtree, pChild);