Home
last modified time | relevance | path

Searched refs:pParent (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dbtree_rb.c126 BtRbNode *pParent; /* Nodes parent node, NULL for the tree head */ member
212 pY->pParent = pX->pParent; in leftRotate()
213 if( pX->pParent ){ in leftRotate()
214 if( pX->pParent->pLeft == pX ) pX->pParent->pLeft = pY; in leftRotate()
215 else pX->pParent->pRight = pY; in leftRotate()
218 pX->pParent = pY; in leftRotate()
220 if( pb ) pb->pParent = pX; in leftRotate()
244 pY->pParent = pX->pParent; in rightRotate()
245 if( pX->pParent ){ in rightRotate()
246 if( pX->pParent->pLeft == pX ) pX->pParent->pLeft = pY; in rightRotate()
[all …]
H A Dbtree.c334 MemPage *pParent; /* The parent of this page. NULL for root */ member
585 static int initPage(Bt *pBt, MemPage *pPage, Pgno pgnoThis, MemPage *pParent){ in initPage() argument
592 if( pPage->pParent ){ in initPage()
593 assert( pPage->pParent==pParent ); in initPage()
596 if( pParent ){ in initPage()
597 pPage->pParent = pParent; in initPage()
598 sqlitepager_ref(pParent); in initPage()
667 if( pPage->pParent ){ in pageDestructor()
668 MemPage *pParent = pPage->pParent; in pageDestructor() local
669 pPage->pParent = 0; in pageDestructor()
[all …]
H A Dselect.c2013 Select *pParent, /* Another SELECT for which this is a sub-query */ in sqliteSelect() argument
2233 if( pParent && pParentAgg && in sqliteSelect()
2234 flattenSubquery(pParse, pParent, parentTab, *pParentAgg, isAgg) ){ in sqliteSelect()
2415 if( pParent ){ in sqliteSelect()
2416 assert( pParent->pSrc->nSrc>parentTab ); in sqliteSelect()
2417 assert( pParent->pSrc->a[parentTab].pSelect==p ); in sqliteSelect()
2419 pParent->pSrc->a[parentTab].pSelect = 0; in sqliteSelect()