Lines Matching refs:pLimit
10164 Expr *pLimit; /* LIMIT expression. NULL means not used. */
67543 if( sqlite3WalkExpr(pWalker, p->pLimit) ) return WRC_Abort;
68566 if( sqlite3ResolveExprNames(&sNC, p->pLimit) ||
69107 heightOfExpr(p->pLimit, pnHeight);
69749 pNew->pLimit = sqlite3ExprDup(db, p->pLimit, flags);
70158 if( p->pLimit ) return 0; /* Has no LIMIT clause */
70556 sqlite3ExprDelete(pParse->db, pSel->pLimit);
70557 pSel->pLimit = sqlite3PExpr(pParse, TK_INTEGER, 0, 0,
79125 Expr *pLimit, /* The LIMIT clause. May be null */
79138 if( pOrderBy && (pLimit == 0) ) {
79147 if( pLimit == 0 ) {
79148 /* if pLimit is null, pOffset will always be null as well. */
79177 pOrderBy,0,pLimit,pOffset);
79199 sqlite3ExprDelete(pParse->db, pLimit);
84085 if( pSelect->pLimit ){
84088 assert( pSelect->pOffset==0 ); /* Must be so if pLimit==0 */
87870 sqlite3ExprDelete(db, p->pLimit);
87899 Expr *pLimit, /* LIMIT value. NULL means not used */
87906 assert( db->mallocFailed || !pOffset || pLimit ); /* OFFSET implies LIMIT */
87922 pNew->pLimit = pLimit;
87924 assert( pOffset==0 || pLimit!=0 );
89236 ** pLimit and pOffset expressions. pLimit and pOffset hold the expressions
89244 ** a limit or offset is defined by pLimit and pOffset. iLimit and
89247 ** Only if pLimit!=0 or pOffset!=0 do the limit registers get
89266 assert( p->pOffset==0 || p->pLimit!=0 );
89267 if( p->pLimit ){
89271 if( sqlite3ExprIsInteger(p->pLimit, &n) ){
89280 sqlite3ExprCode(pParse, p->pLimit, iLimit);
89398 if( pPrior->pLimit ){
89440 assert( !pPrior->pLimit );
89441 pPrior->pLimit = p->pLimit;
89445 p->pLimit = 0;
89463 if( pPrior->pLimit
89464 && sqlite3ExprIsInteger(pPrior->pLimit, &nLimit)
89479 Expr *pLimit, *pOffset; /* Saved values of p->nLimit and p->nOffset */
89486 if( dest.eDest==priorOp && ALWAYS(!p->pLimit &&!p->pOffset) ){
89492 assert( p->pLimit==0 ); /* Not allowed on leftward elements */
89527 pLimit = p->pLimit;
89528 p->pLimit = 0;
89542 sqlite3ExprDelete(db, p->pLimit);
89543 p->pLimit = pLimit;
89577 Expr *pLimit, *pOffset;
89611 pLimit = p->pLimit;
89612 p->pLimit = 0;
89622 sqlite3ExprDelete(db, p->pLimit);
89623 p->pLimit = pLimit;
90130 sqlite3ExprDelete(db, p->pLimit);
90131 p->pLimit = 0;
90545 if( pSub->pLimit && p->pLimit ) return 0; /* Restriction (13) */
90547 if( p->pRightmost && pSub->pLimit ){
90552 if( pSub->pLimit && (pSrc->nSrc>1 || isAgg) ){
90562 if( pSub->pLimit && p->pWhere ) return 0; /* Restriction (19) */
90675 Expr *pLimit = p->pLimit;
90680 p->pLimit = 0;
90682 p->pLimit = pLimit;
90859 if( pSub->pLimit ){
90860 pParent->pLimit = pSub->pLimit;
90861 pSub->pLimit = 0;
100234 Expr *pLimit; /* The LIMIT expression. NULL if there is no limit */
102584 …nor.yy314,yymsp[-1].minor.yy322,yymsp[-7].minor.yy4,yymsp[0].minor.yy292.pLimit,yymsp[0].minor.yy2…
102733 {yygotominor.yy292.pLimit = 0; yygotominor.yy292.pOffset = 0;}
102736 {yygotominor.yy292.pLimit = yymsp[0].minor.yy118.pExpr; yygotominor.yy292.pOffset = 0;}
102739 {yygotominor.yy292.pLimit = yymsp[-2].minor.yy118.pExpr; yygotominor.yy292.pOffset = yymsp[0].minor…
102742 {yygotominor.yy292.pOffset = yymsp[-2].minor.yy118.pExpr; yygotominor.yy292.pLimit = yymsp[0].minor…