Lines Matching refs:pLimit

12294   Expr *pLimit;          /* LIMIT expression. NULL means not used. */  member
81225 if( sqlite3WalkExpr(pWalker, p->pLimit) ) return WRC_Abort;
82482 if( sqlite3ResolveExprNames(&sNC, p->pLimit) ||
83162 heightOfExpr(p->pLimit, pnHeight);
83899 pNew->pLimit = sqlite3ExprDup(db, p->pLimit, flags);
84351 if( p->pLimit ) return 0; /* Has no LIMIT clause */
84819 sqlite3ExprDelete(pParse->db, pSel->pLimit);
84820 pSel->pLimit = sqlite3PExpr(pParse, TK_INTEGER, 0, 0,
90468 if( sqlite3FixExpr(pFix, pSelect->pLimit) ){
95714 Expr *pLimit, /* The LIMIT clause. May be null */
95727 if( pOrderBy && (pLimit == 0) ) {
95735 if( pLimit == 0 ) {
95765 pOrderBy,0,pLimit,pOffset);
95787 sqlite3ExprDelete(pParse->db, pLimit);
101457 if( pSelect->pLimit ){
106540 sqlite3ExprDelete(db, p->pLimit);
106574 Expr *pLimit, /* LIMIT value. NULL means not used */
106598 pNew->pLimit = pLimit;
106600 assert( pOffset==0 || pLimit!=0 || pParse->nErr>0 || db->mallocFailed!=0 );
108277 assert( p->pOffset==0 || p->pLimit!=0 );
108278 if( p->pLimit ){
108282 if( sqlite3ExprIsInteger(p->pLimit, &n) ){
108291 sqlite3ExprCode(pParse, p->pLimit, iLimit);
108432 Expr *pLimit, *pOffset; /* Saved LIMIT and OFFSET */
108441 pLimit = p->pLimit;
108445 p->pLimit = p->pOffset = 0;
108533 p->pLimit = pLimit;
108583 assert( p->pLimit==0 );
108667 if( pPrior->pLimit ){
108721 assert( !pPrior->pLimit );
108724 pPrior->pLimit = p->pLimit;
108728 p->pLimit = 0;
108746 if( pPrior->pLimit
108747 && sqlite3ExprIsInteger(pPrior->pLimit, &nLimit)
108762 Expr *pLimit, *pOffset; /* Saved values of p->nLimit and p->nOffset */
108773 assert( p->pLimit==0 ); /* Not allowed on leftward elements */
108808 pLimit = p->pLimit;
108809 p->pLimit = 0;
108823 sqlite3ExprDelete(db, p->pLimit);
108824 p->pLimit = pLimit;
108858 Expr *pLimit, *pOffset;
108892 pLimit = p->pLimit;
108893 p->pLimit = 0;
108903 sqlite3ExprDelete(db, p->pLimit);
108904 p->pLimit = pLimit;
109388 sqlite3ExprDelete(db, p->pLimit);
109389 p->pLimit = 0;
109821 if( pSub->pLimit && p->pLimit ) return 0; /* Restriction (13) */
109823 if( (p->selFlags & SF_Compound)!=0 && pSub->pLimit ){
109828 if( pSub->pLimit && (pSrc->nSrc>1 || isAgg) ){
109838 if( pSub->pLimit && p->pWhere ) return 0; /* Restriction (19) */
109839 if( pSub->pLimit && (p->selFlags & SF_Distinct)!=0 ){
109968 Expr *pLimit = p->pLimit;
109974 p->pLimit = 0;
109979 p->pLimit = pLimit;
110173 if( pSub->pLimit ){
110174 pParent->pLimit = pSub->pLimit;
110175 pSub->pLimit = 0;
110361 pNew->pLimit = 0;
111997 if( p->pLimit ) n++;
112050 if( p->pLimit ){
112052 sqlite3TreeViewExpr(pView, p->pLimit, 0);
123263 Expr *pLimit; /* The LIMIT expression. NULL if there is no limit */
125672 …or.yy132,yymsp[-1].minor.yy14,yymsp[-7].minor.yy381,yymsp[0].minor.yy476.pLimit,yymsp[0].minor.yy4…
125883 {yygotominor.yy476.pLimit = 0; yygotominor.yy476.pOffset = 0;}
125886 {yygotominor.yy476.pLimit = yymsp[0].minor.yy346.pExpr; yygotominor.yy476.pOffset = 0;}
125889 {yygotominor.yy476.pLimit = yymsp[-2].minor.yy346.pExpr; yygotominor.yy476.pOffset = yymsp[0].minor…
125892 {yygotominor.yy476.pOffset = yymsp[-2].minor.yy346.pExpr; yygotominor.yy476.pLimit = yymsp[0].minor…