Lines Matching refs:pSel

86994       Select *pSel;                         /* SELECT statement to encode */
87002 pSel = pExpr->x.pSelect;
87014 sqlite3ExprDelete(pParse->db, pSel->pLimit);
87015 pSel->pLimit = sqlite3PExpr(pParse, TK_INTEGER, 0, 0,
87017 pSel->iLimit = 0;
87018 pSel->selFlags &= ~SF_MultiValue;
87019 if( sqlite3Select(pParse, pSel, &dest) ){
94929 Select *pSel; /* Copy of the SELECT that implements the view */
94986 pSel = sqlite3SelectDup(db, pTable->pSelect, 0);
94987 if( pSel ){
94989 sqlite3SrcListAssignCursors(pParse, pSel->pSrc);
94995 pSelTab = sqlite3ResultSetOfSelect(pParse, pSel);
94998 pSelTab = sqlite3ResultSetOfSelect(pParse, pSel);
95013 sqlite3SelectDelete(db, pSel);
97773 Select *pSel;
97786 pSel = sqlite3SelectNew(pParse, 0, pFrom, pWhere, 0, 0, 0, 0, 0, 0);
97788 sqlite3Select(pParse, pSel, &dest);
97789 sqlite3SelectDelete(db, pSel);
112681 Select *pSel;
112708 pSel = pFrom->pSelect;
112709 bMayRecursive = ( pSel->op==TK_ALL || pSel->op==TK_UNION );
112722 pSel->selFlags |= SF_Recursive;
112734 assert( pTab->nRef==1 || ((pSel->selFlags&SF_Recursive) && pTab->nRef==2 ));
112739 sqlite3WalkSelect(pWalker, bMayRecursive ? pSel->pPrior : pSel);
112741 for(pLeft=pSel; pLeft->pPrior; pLeft=pLeft->pPrior);
112756 if( pSel->selFlags & SF_Recursive ){
112761 sqlite3WalkSelect(pWalker, pSel);
112859 Select *pSel = pFrom->pSelect;
112861 assert( pSel!=0 );
112863 if( sqlite3WalkSelect(pWalker, pSel) ) return WRC_Abort;
112868 while( pSel->pPrior ){ pSel = pSel->pPrior; }
112869 sqlite3ColumnsFromExprList(pParse, pSel->pEList,&pTab->nCol,&pTab->aCol);
113157 Select *pSel = pFrom->pSelect;
113158 if( pSel ){
113159 while( pSel->pPrior ) pSel = pSel->pPrior;
113160 selectAddColumnTypeAndCollation(pParse, pTab, pSel);