• 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);
91084 if( sqlite3WalkExpr(pWalker, p->pLimit) ) return WRC_Abort;
92352 if( sqlite3ResolveExprNames(&sNC, p->pLimit) ){
93353 heightOfExpr(p->pLimit, pnHeight);
94150 pNew->pLimit = sqlite3ExprDup(db, p->pLimit, flags);
94785 if( p->pLimit ) return 0; /* Has no LIMIT clause */
95424 Expr *pLimit; /* New limit expression */
95446 pLimit = sqlite3ExprAlloc(pParse->db, TK_INTEGER,&sqlite3IntTokens[1], 0);
95447 if( pSel->pLimit ){
95448 sqlite3ExprDelete(pParse->db, pSel->pLimit->pLeft);
95449 pSel->pLimit->pLeft = pLimit;
95451 pSel->pLimit = sqlite3PExpr(pParse, TK_LIMIT, pLimit, 0);
101273 if( sqlite3FixExpr(pFix, pSelect->pLimit) ){
106661 Expr *pLimit, /* Optional LIMIT clause */
106679 SF_IncludeHidden, pLimit);
106700 Expr *pLimit, /* The LIMIT clause. May be null */
106713 if( pOrderBy && pLimit==0 ) {
106723 if( pLimit == 0 ) {
106770 pOrderBy,0,pLimit
106793 Expr *pLimit /* LIMIT clause. May be null */
106866 pParse, pTabList, pWhere, pOrderBy, pLimit, "DELETE"
106869 pLimit = 0;
106921 pWhere, pOrderBy, pLimit, iTabCur
106925 pLimit = 0;
107171 sqlite3ExprDelete(db, pLimit);
112846 if( pSelect->pLimit ){
118762 sqlite3ExprDelete(db, p->pLimit);
118795 Expr *pLimit /* LIMIT value. NULL means not used */
118827 pNew->pLimit = pLimit;
120584 Expr *pLimit = p->pLimit;
120595 if( pLimit ){
120596 assert( pLimit->op==TK_LIMIT );
120597 assert( pLimit->pLeft!=0 );
120601 if( sqlite3ExprIsInteger(pLimit->pLeft, &n) ){
120611 sqlite3ExprCode(pParse, pLimit->pLeft, iLimit);
120616 if( pLimit->pRight ){
120619 sqlite3ExprCode(pParse, pLimit->pRight, iOffset);
120749 Expr *pLimit; /* Saved LIMIT and OFFSET */
120759 pLimit = p->pLimit;
120762 p->pLimit = 0;
120854 p->pLimit = pLimit;
120906 if( rc || pRightmost->pLimit ) break;
120968 if( pPrior->pOrderBy || pPrior->pLimit ){
121017 assert( !pPrior->pLimit );
121020 pPrior->pLimit = p->pLimit;
121023 p->pLimit = 0;
121044 if( pPrior->pLimit
121045 && sqlite3ExprIsInteger(pPrior->pLimit->pLeft, &nLimit)
121060 Expr *pLimit; /* Saved values of p->nLimit */
121071 assert( p->pLimit==0 ); /* Not allowed on leftward elements */
121105 pLimit = p->pLimit;
121106 p->pLimit = 0;
121120 sqlite3ExprDelete(db, p->pLimit);
121121 p->pLimit = pLimit;
121149 Expr *pLimit;
121183 pLimit = p->pLimit;
121184 p->pLimit = 0;
121192 sqlite3ExprDelete(db, p->pLimit);
121193 p->pLimit = pLimit;
121670 sqlite3ExprDelete(db, p->pLimit);
121671 p->pLimit = 0;
122134 if( pSub->pLimit && p->pLimit ) return 0; /* Restriction (13) */
122135 if( pSub->pLimit && pSub->pLimit->pRight ) return 0; /* Restriction (14) */
122136 if( (p->selFlags & SF_Compound)!=0 && pSub->pLimit ){
122141 if( pSub->pLimit && (pSrc->nSrc>1 || isAgg) ){
122148 if( pSub->pLimit && p->pWhere ) return 0; /* Restriction (19) */
122149 if( pSub->pLimit && (p->selFlags & SF_Distinct)!=0 ){
122282 Expr *pLimit = p->pLimit;
122287 p->pLimit = 0;
122290 p->pLimit = pLimit;
122467 if( pSub->pLimit ){
122468 pParent->pLimit = pSub->pLimit;
122469 pSub->pLimit = 0;
122555 if( pSubq->pLimit!=0 ){
122754 pNew->pLimit = 0;
126174 Expr *pLimit /* LIMIT clause. May be null */
126262 pParse, pTabList, pWhere, pOrderBy, pLimit, "UPDATE"
126265 pLimit = 0;
126438 pWhere, pOrderBy, pLimit, iDataCur
126441 pLimit = 0;
126827 sqlite3ExprDelete(db, pLimit);