Home
last modified time | relevance | path

Searched refs:pChild (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/libsqlite/src/
H A Dbtree_rb.c926 BtRbNode *pChild; /* The child of the spliced out node */ in memRbtreeDelete() local
1001 pChild = ((pZ->pLeft)?pZ->pLeft:pZ->pRight); in memRbtreeDelete()
1006 *ppParentSlot = pChild; in memRbtreeDelete()
1008 pCur->pTree->pHead = pChild; in memRbtreeDelete()
1010 if( pChild ) pChild->pParent = pZ->pParent; in memRbtreeDelete()
1019 do_delete_balancing(pCur->pTree, pChild, pZ->pParent); in memRbtreeDelete()
H A Dbtree.c2232 MemPage *pChild; in balance() local
2242 rc = sqlitepager_get(pBt->pPager, pgnoChild, (void**)&pChild); in balance()
2244 memcpy(pPage, pChild, SQLITE_USABLE_SIZE); in balance()
2249 if( pCur && pCur->pPage==pChild ){ in balance()
2250 sqlitepager_unref(pChild); in balance()
2254 freePage(pBt, pChild, pgnoChild); in balance()
2255 sqlitepager_unref(pChild); in balance()
2277 rc = allocatePage(pBt, &pChild, &pgnoChild, sqlitepager_pagenumber(pPage)); in balance()
2279 assert( sqlitepager_iswriteable(pChild) ); in balance()
2280 copyPage(pChild, pPage); in balance()
[all …]