Lines Matching refs:pLimit
12294 Expr *pLimit; /* LIMIT expression. NULL means not used. */ member
81243 if( sqlite3WalkExpr(pWalker, p->pLimit) ) return WRC_Abort;
82500 if( sqlite3ResolveExprNames(&sNC, p->pLimit) ||
83180 heightOfExpr(p->pLimit, pnHeight);
83917 pNew->pLimit = sqlite3ExprDup(db, p->pLimit, flags);
84369 if( p->pLimit ) return 0; /* Has no LIMIT clause */
84837 sqlite3ExprDelete(pParse->db, pSel->pLimit);
84838 pSel->pLimit = sqlite3PExpr(pParse, TK_INTEGER, 0, 0,
90486 if( sqlite3FixExpr(pFix, pSelect->pLimit) ){
95732 Expr *pLimit, /* The LIMIT clause. May be null */
95745 if( pOrderBy && (pLimit == 0) ) {
95753 if( pLimit == 0 ) {
95783 pOrderBy,0,pLimit,pOffset);
95805 sqlite3ExprDelete(pParse->db, pLimit);
101475 if( pSelect->pLimit ){
106558 sqlite3ExprDelete(db, p->pLimit);
106592 Expr *pLimit, /* LIMIT value. NULL means not used */
106616 pNew->pLimit = pLimit;
106618 assert( pOffset==0 || pLimit!=0 || pParse->nErr>0 || db->mallocFailed!=0 );
108295 assert( p->pOffset==0 || p->pLimit!=0 );
108296 if( p->pLimit ){
108300 if( sqlite3ExprIsInteger(p->pLimit, &n) ){
108309 sqlite3ExprCode(pParse, p->pLimit, iLimit);
108450 Expr *pLimit, *pOffset; /* Saved LIMIT and OFFSET */
108459 pLimit = p->pLimit;
108463 p->pLimit = p->pOffset = 0;
108551 p->pLimit = pLimit;
108601 assert( p->pLimit==0 );
108685 if( pPrior->pLimit ){
108739 assert( !pPrior->pLimit );
108742 pPrior->pLimit = p->pLimit;
108746 p->pLimit = 0;
108764 if( pPrior->pLimit
108765 && sqlite3ExprIsInteger(pPrior->pLimit, &nLimit)
108780 Expr *pLimit, *pOffset; /* Saved values of p->nLimit and p->nOffset */
108791 assert( p->pLimit==0 ); /* Not allowed on leftward elements */
108826 pLimit = p->pLimit;
108827 p->pLimit = 0;
108841 sqlite3ExprDelete(db, p->pLimit);
108842 p->pLimit = pLimit;
108876 Expr *pLimit, *pOffset;
108910 pLimit = p->pLimit;
108911 p->pLimit = 0;
108921 sqlite3ExprDelete(db, p->pLimit);
108922 p->pLimit = pLimit;
109406 sqlite3ExprDelete(db, p->pLimit);
109407 p->pLimit = 0;
109839 if( pSub->pLimit && p->pLimit ) return 0; /* Restriction (13) */
109841 if( (p->selFlags & SF_Compound)!=0 && pSub->pLimit ){
109846 if( pSub->pLimit && (pSrc->nSrc>1 || isAgg) ){
109856 if( pSub->pLimit && p->pWhere ) return 0; /* Restriction (19) */
109857 if( pSub->pLimit && (p->selFlags & SF_Distinct)!=0 ){
109986 Expr *pLimit = p->pLimit;
109992 p->pLimit = 0;
109997 p->pLimit = pLimit;
110191 if( pSub->pLimit ){
110192 pParent->pLimit = pSub->pLimit;
110193 pSub->pLimit = 0;
110379 pNew->pLimit = 0;
112015 if( p->pLimit ) n++;
112068 if( p->pLimit ){
112070 sqlite3TreeViewExpr(pView, p->pLimit, 0);
123281 Expr *pLimit; /* The LIMIT expression. NULL if there is no limit */
125690 …or.yy132,yymsp[-1].minor.yy14,yymsp[-7].minor.yy381,yymsp[0].minor.yy476.pLimit,yymsp[0].minor.yy4…
125901 {yygotominor.yy476.pLimit = 0; yygotominor.yy476.pOffset = 0;}
125904 {yygotominor.yy476.pLimit = yymsp[0].minor.yy346.pExpr; yygotominor.yy476.pOffset = 0;}
125907 {yygotominor.yy476.pLimit = yymsp[-2].minor.yy346.pExpr; yygotominor.yy476.pOffset = yymsp[0].minor…
125910 {yygotominor.yy476.pOffset = yymsp[-2].minor.yy346.pExpr; yygotominor.yy476.pLimit = yymsp[0].minor…