Lines Matching refs:pSel

87012       Select *pSel;                         /* SELECT statement to encode */
87020 pSel = pExpr->x.pSelect;
87032 sqlite3ExprDelete(pParse->db, pSel->pLimit);
87033 pSel->pLimit = sqlite3PExpr(pParse, TK_INTEGER, 0, 0,
87035 pSel->iLimit = 0;
87036 pSel->selFlags &= ~SF_MultiValue;
87037 if( sqlite3Select(pParse, pSel, &dest) ){
94947 Select *pSel; /* Copy of the SELECT that implements the view */
95004 pSel = sqlite3SelectDup(db, pTable->pSelect, 0);
95005 if( pSel ){
95007 sqlite3SrcListAssignCursors(pParse, pSel->pSrc);
95013 pSelTab = sqlite3ResultSetOfSelect(pParse, pSel);
95016 pSelTab = sqlite3ResultSetOfSelect(pParse, pSel);
95031 sqlite3SelectDelete(db, pSel);
97791 Select *pSel;
97804 pSel = sqlite3SelectNew(pParse, 0, pFrom, pWhere, 0, 0, 0, 0, 0, 0);
97806 sqlite3Select(pParse, pSel, &dest);
97807 sqlite3SelectDelete(db, pSel);
112699 Select *pSel;
112726 pSel = pFrom->pSelect;
112727 bMayRecursive = ( pSel->op==TK_ALL || pSel->op==TK_UNION );
112740 pSel->selFlags |= SF_Recursive;
112752 assert( pTab->nRef==1 || ((pSel->selFlags&SF_Recursive) && pTab->nRef==2 ));
112757 sqlite3WalkSelect(pWalker, bMayRecursive ? pSel->pPrior : pSel);
112759 for(pLeft=pSel; pLeft->pPrior; pLeft=pLeft->pPrior);
112774 if( pSel->selFlags & SF_Recursive ){
112779 sqlite3WalkSelect(pWalker, pSel);
112877 Select *pSel = pFrom->pSelect;
112879 assert( pSel!=0 );
112881 if( sqlite3WalkSelect(pWalker, pSel) ) return WRC_Abort;
112886 while( pSel->pPrior ){ pSel = pSel->pPrior; }
112887 sqlite3ColumnsFromExprList(pParse, pSel->pEList,&pTab->nCol,&pTab->aCol);
113175 Select *pSel = pFrom->pSelect;
113176 if( pSel ){
113177 while( pSel->pPrior ) pSel = pSel->pPrior;
113178 selectAddColumnTypeAndCollation(pParse, pTab, pSel);