Home | History | Annotate | Download | only in dist

Lines Matching refs:pLimit

10171   Expr *pLimit;          /* LIMIT expression. NULL means not used. */
67550 if( sqlite3WalkExpr(pWalker, p->pLimit) ) return WRC_Abort;
68573 if( sqlite3ResolveExprNames(&sNC, p->pLimit) ||
69114 heightOfExpr(p->pLimit, pnHeight);
69756 pNew->pLimit = sqlite3ExprDup(db, p->pLimit, flags);
70165 if( p->pLimit ) return 0; /* Has no LIMIT clause */
70563 sqlite3ExprDelete(pParse->db, pSel->pLimit);
70564 pSel->pLimit = sqlite3PExpr(pParse, TK_INTEGER, 0, 0,
79132 Expr *pLimit, /* The LIMIT clause. May be null */
79145 if( pOrderBy && (pLimit == 0) ) {
79154 if( pLimit == 0 ) {
79155 /* if pLimit is null, pOffset will always be null as well. */
79184 pOrderBy,0,pLimit,pOffset);
79206 sqlite3ExprDelete(pParse->db, pLimit);
84092 if( pSelect->pLimit ){
84095 assert( pSelect->pOffset==0 ); /* Must be so if pLimit==0 */
87877 sqlite3ExprDelete(db, p->pLimit);
87906 Expr *pLimit, /* LIMIT value. NULL means not used */
87913 assert( db->mallocFailed || !pOffset || pLimit ); /* OFFSET implies LIMIT */
87929 pNew->pLimit = pLimit;
87931 assert( pOffset==0 || pLimit!=0 );
89243 ** pLimit and pOffset expressions. pLimit and pOffset hold the expressions
89251 ** a limit or offset is defined by pLimit and pOffset. iLimit and
89254 ** Only if pLimit!=0 or pOffset!=0 do the limit registers get
89273 assert( p->pOffset==0 || p->pLimit!=0 );
89274 if( p->pLimit ){
89278 if( sqlite3ExprIsInteger(p->pLimit, &n) ){
89287 sqlite3ExprCode(pParse, p->pLimit, iLimit);
89405 if( pPrior->pLimit ){
89447 assert( !pPrior->pLimit );
89448 pPrior->pLimit = p->pLimit;
89452 p->pLimit = 0;
89470 if( pPrior->pLimit
89471 && sqlite3ExprIsInteger(pPrior->pLimit, &nLimit)
89486 Expr *pLimit, *pOffset; /* Saved values of p->nLimit and p->nOffset */
89493 if( dest.eDest==priorOp && ALWAYS(!p->pLimit &&!p->pOffset) ){
89499 assert( p->pLimit==0 ); /* Not allowed on leftward elements */
89534 pLimit = p->pLimit;
89535 p->pLimit = 0;
89549 sqlite3ExprDelete(db, p->pLimit);
89550 p->pLimit = pLimit;
89584 Expr *pLimit, *pOffset;
89618 pLimit = p->pLimit;
89619 p->pLimit = 0;
89629 sqlite3ExprDelete(db, p->pLimit);
89630 p->pLimit = pLimit;
90137 sqlite3ExprDelete(db, p->pLimit);
90138 p->pLimit = 0;
90552 if( pSub->pLimit && p->pLimit ) return 0; /* Restriction (13) */
90554 if( p->pRightmost && pSub->pLimit ){
90559 if( pSub->pLimit && (pSrc->nSrc>1 || isAgg) ){
90569 if( pSub->pLimit && p->pWhere ) return 0; /* Restriction (19) */
90682 Expr *pLimit = p->pLimit;
90687 p->pLimit = 0;
90689 p->pLimit = pLimit;
90866 if( pSub->pLimit ){
90867 pParent->pLimit = pSub->pLimit;
90868 pSub->pLimit = 0;
100241 Expr *pLimit; /* The LIMIT expression. NULL if there is no limit */
102591 yygotominor.yy387 = sqlite3SelectNew(pParse,yymsp[-6].minor.yy322,yymsp[-5].minor.yy259,yymsp[-4].minor.yy314,yymsp[-3].minor.yy322,yymsp[-2].minor.yy314,yymsp[-1].minor.yy322,yymsp[-7].minor.yy4,yymsp[0].minor.yy292.pLimit,yymsp[0].minor.yy292.pOffset);
102740 {yygotominor.yy292.pLimit = 0; yygotominor.yy292.pOffset = 0;}
102743 {yygotominor.yy292.pLimit = yymsp[0].minor.yy118.pExpr; yygotominor.yy292.pOffset = 0;}
102746 {yygotominor.yy292.pLimit = yymsp[-2].minor.yy118.pExpr; yygotominor.yy292.pOffset = yymsp[0].minor.yy118.pExpr;}
102749 {yygotominor.yy292.pOffset = yymsp[-2].minor.yy118.pExpr; yygotominor.yy292.pLimit = yymsp[0].minor.yy118.pExpr;}