Lines Matching refs:pLimit
12999 Expr *pLimit; /* LIMIT expression. NULL means not used. */ member
23291 if( p->pLimit ) n++;
23347 if( p->pLimit ){
23349 sqlite3TreeViewExpr(pView, p->pLimit, 0);
83408 if( sqlite3WalkExpr(pWalker, p->pLimit) ) return WRC_Abort;
84641 if( sqlite3ResolveExprNames(&sNC, p->pLimit) ||
85341 heightOfExpr(p->pLimit, pnHeight);
86080 pNew->pLimit = sqlite3ExprDup(db, p->pLimit, flags);
86546 if( p->pLimit ) return 0; /* Has no LIMIT clause */
87014 sqlite3ExprDelete(pParse->db, pSel->pLimit);
87015 pSel->pLimit = sqlite3PExpr(pParse, TK_INTEGER, 0, 0,
92427 if( sqlite3FixExpr(pFix, pSelect->pLimit) ){
97807 Expr *pLimit, /* The LIMIT clause. May be null */
97820 if( pOrderBy && (pLimit == 0) ) {
97828 if( pLimit == 0 ) {
97858 pOrderBy,0,pLimit,pOffset);
97880 sqlite3ExprDelete(pParse->db, pLimit);
103644 if( pSelect->pLimit ){
108711 sqlite3ExprDelete(db, p->pLimit);
108745 Expr *pLimit, /* LIMIT value. NULL means not used */
108769 pNew->pLimit = pLimit;
108771 assert( pOffset==0 || pLimit!=0 || pParse->nErr>0 || db->mallocFailed!=0 );
110462 assert( p->pOffset==0 || p->pLimit!=0 );
110463 if( p->pLimit ){
110467 if( sqlite3ExprIsInteger(p->pLimit, &n) ){
110476 sqlite3ExprCode(pParse, p->pLimit, iLimit);
110616 Expr *pLimit, *pOffset; /* Saved LIMIT and OFFSET */
110625 pLimit = p->pLimit;
110629 p->pLimit = p->pOffset = 0;
110721 p->pLimit = pLimit;
110757 assert( p->pLimit==0 );
110838 if( pPrior->pLimit ){
110888 assert( !pPrior->pLimit );
110891 pPrior->pLimit = p->pLimit;
110895 p->pLimit = 0;
110918 if( pPrior->pLimit
110919 && sqlite3ExprIsInteger(pPrior->pLimit, &nLimit)
110934 Expr *pLimit, *pOffset; /* Saved values of p->nLimit and p->nOffset */
110945 assert( p->pLimit==0 ); /* Not allowed on leftward elements */
110980 pLimit = p->pLimit;
110981 p->pLimit = 0;
110995 sqlite3ExprDelete(db, p->pLimit);
110996 p->pLimit = pLimit;
111030 Expr *pLimit, *pOffset;
111064 pLimit = p->pLimit;
111065 p->pLimit = 0;
111075 sqlite3ExprDelete(db, p->pLimit);
111076 p->pLimit = pLimit;
111560 sqlite3ExprDelete(db, p->pLimit);
111561 p->pLimit = 0;
111996 if( pSub->pLimit && p->pLimit ) return 0; /* Restriction (13) */
111998 if( (p->selFlags & SF_Compound)!=0 && pSub->pLimit ){
112003 if( pSub->pLimit && (pSrc->nSrc>1 || isAgg) ){
112013 if( pSub->pLimit && p->pWhere ) return 0; /* Restriction (19) */
112014 if( pSub->pLimit && (p->selFlags & SF_Distinct)!=0 ){
112143 Expr *pLimit = p->pLimit;
112149 p->pLimit = 0;
112154 p->pLimit = pLimit;
112336 if( pSub->pLimit ){
112337 pParent->pLimit = pSub->pLimit;
112338 pSub->pLimit = 0;
112408 if( pSubq->pLimit!=0 ){
112595 pNew->pLimit = 0;
126017 Expr *pLimit; /* The LIMIT expression. NULL if there is no limit */
128471 …or.yy132,yymsp[-1].minor.yy14,yymsp[-7].minor.yy381,yymsp[0].minor.yy476.pLimit,yymsp[0].minor.yy4…
128692 {yygotominor.yy476.pLimit = 0; yygotominor.yy476.pOffset = 0;}
128695 {yygotominor.yy476.pLimit = yymsp[0].minor.yy346.pExpr; yygotominor.yy476.pOffset = 0;}
128698 {yygotominor.yy476.pLimit = yymsp[-2].minor.yy346.pExpr; yygotominor.yy476.pOffset = yymsp[0].minor…
128701 {yygotominor.yy476.pOffset = yymsp[-2].minor.yy346.pExpr; yygotominor.yy476.pLimit = yymsp[0].minor…