• Home
  • Raw
  • Download

Lines Matching refs:pLimit

16626   Expr *pLimit;          /* LIMIT expression. NULL means not used. */  member
27133 if( p->pLimit ) n++;
27188 if( p->pLimit ){
27190 sqlite3TreeViewExpr(pView, p->pLimit->pLeft, p->pLimit->pRight!=0);
27191 if( p->pLimit->pRight ){
27193 sqlite3TreeViewExpr(pView, p->pLimit->pRight, 0);
91100 if( sqlite3WalkExpr(pWalker, p->pLimit) ) return WRC_Abort;
92368 if( sqlite3ResolveExprNames(&sNC, p->pLimit) ){
93369 heightOfExpr(p->pLimit, pnHeight);
94166 pNew->pLimit = sqlite3ExprDup(db, p->pLimit, flags);
94801 if( p->pLimit ) return 0; /* Has no LIMIT clause */
95440 Expr *pLimit; /* New limit expression */
95462 pLimit = sqlite3ExprAlloc(pParse->db, TK_INTEGER,&sqlite3IntTokens[1], 0);
95463 if( pSel->pLimit ){
95464 sqlite3ExprDelete(pParse->db, pSel->pLimit->pLeft);
95465 pSel->pLimit->pLeft = pLimit;
95467 pSel->pLimit = sqlite3PExpr(pParse, TK_LIMIT, pLimit, 0);
101289 if( sqlite3FixExpr(pFix, pSelect->pLimit) ){
106677 Expr *pLimit, /* Optional LIMIT clause */
106695 SF_IncludeHidden, pLimit);
106716 Expr *pLimit, /* The LIMIT clause. May be null */
106729 if( pOrderBy && pLimit==0 ) {
106739 if( pLimit == 0 ) {
106786 pOrderBy,0,pLimit
106809 Expr *pLimit /* LIMIT clause. May be null */
106882 pParse, pTabList, pWhere, pOrderBy, pLimit, "DELETE"
106885 pLimit = 0;
106937 pWhere, pOrderBy, pLimit, iTabCur
106941 pLimit = 0;
107187 sqlite3ExprDelete(db, pLimit);
112862 if( pSelect->pLimit ){
118778 sqlite3ExprDelete(db, p->pLimit);
118811 Expr *pLimit /* LIMIT value. NULL means not used */
118843 pNew->pLimit = pLimit;
120600 Expr *pLimit = p->pLimit;
120611 if( pLimit ){
120612 assert( pLimit->op==TK_LIMIT );
120613 assert( pLimit->pLeft!=0 );
120617 if( sqlite3ExprIsInteger(pLimit->pLeft, &n) ){
120627 sqlite3ExprCode(pParse, pLimit->pLeft, iLimit);
120632 if( pLimit->pRight ){
120635 sqlite3ExprCode(pParse, pLimit->pRight, iOffset);
120765 Expr *pLimit; /* Saved LIMIT and OFFSET */
120775 pLimit = p->pLimit;
120778 p->pLimit = 0;
120870 p->pLimit = pLimit;
120922 if( rc || pRightmost->pLimit ) break;
120984 if( pPrior->pOrderBy || pPrior->pLimit ){
121033 assert( !pPrior->pLimit );
121036 pPrior->pLimit = p->pLimit;
121039 p->pLimit = 0;
121060 if( pPrior->pLimit
121061 && sqlite3ExprIsInteger(pPrior->pLimit->pLeft, &nLimit)
121076 Expr *pLimit; /* Saved values of p->nLimit */
121087 assert( p->pLimit==0 ); /* Not allowed on leftward elements */
121121 pLimit = p->pLimit;
121122 p->pLimit = 0;
121136 sqlite3ExprDelete(db, p->pLimit);
121137 p->pLimit = pLimit;
121165 Expr *pLimit;
121199 pLimit = p->pLimit;
121200 p->pLimit = 0;
121208 sqlite3ExprDelete(db, p->pLimit);
121209 p->pLimit = pLimit;
121686 sqlite3ExprDelete(db, p->pLimit);
121687 p->pLimit = 0;
122150 if( pSub->pLimit && p->pLimit ) return 0; /* Restriction (13) */
122151 if( pSub->pLimit && pSub->pLimit->pRight ) return 0; /* Restriction (14) */
122152 if( (p->selFlags & SF_Compound)!=0 && pSub->pLimit ){
122157 if( pSub->pLimit && (pSrc->nSrc>1 || isAgg) ){
122164 if( pSub->pLimit && p->pWhere ) return 0; /* Restriction (19) */
122165 if( pSub->pLimit && (p->selFlags & SF_Distinct)!=0 ){
122298 Expr *pLimit = p->pLimit;
122303 p->pLimit = 0;
122306 p->pLimit = pLimit;
122483 if( pSub->pLimit ){
122484 pParent->pLimit = pSub->pLimit;
122485 pSub->pLimit = 0;
122571 if( pSubq->pLimit!=0 ){
122770 pNew->pLimit = 0;
126190 Expr *pLimit /* LIMIT clause. May be null */
126278 pParse, pTabList, pWhere, pOrderBy, pLimit, "UPDATE"
126281 pLimit = 0;
126454 pWhere, pOrderBy, pLimit, iDataCur
126457 pLimit = 0;
126843 sqlite3ExprDelete(db, pLimit);