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);
83426 if( sqlite3WalkExpr(pWalker, p->pLimit) ) return WRC_Abort;
84659 if( sqlite3ResolveExprNames(&sNC, p->pLimit) ||
85359 heightOfExpr(p->pLimit, pnHeight);
86098 pNew->pLimit = sqlite3ExprDup(db, p->pLimit, flags);
86564 if( p->pLimit ) return 0; /* Has no LIMIT clause */
87032 sqlite3ExprDelete(pParse->db, pSel->pLimit);
87033 pSel->pLimit = sqlite3PExpr(pParse, TK_INTEGER, 0, 0,
92445 if( sqlite3FixExpr(pFix, pSelect->pLimit) ){
97825 Expr *pLimit, /* The LIMIT clause. May be null */
97838 if( pOrderBy && (pLimit == 0) ) {
97846 if( pLimit == 0 ) {
97876 pOrderBy,0,pLimit,pOffset);
97898 sqlite3ExprDelete(pParse->db, pLimit);
103662 if( pSelect->pLimit ){
108729 sqlite3ExprDelete(db, p->pLimit);
108763 Expr *pLimit, /* LIMIT value. NULL means not used */
108787 pNew->pLimit = pLimit;
108789 assert( pOffset==0 || pLimit!=0 || pParse->nErr>0 || db->mallocFailed!=0 );
110480 assert( p->pOffset==0 || p->pLimit!=0 );
110481 if( p->pLimit ){
110485 if( sqlite3ExprIsInteger(p->pLimit, &n) ){
110494 sqlite3ExprCode(pParse, p->pLimit, iLimit);
110634 Expr *pLimit, *pOffset; /* Saved LIMIT and OFFSET */
110643 pLimit = p->pLimit;
110647 p->pLimit = p->pOffset = 0;
110739 p->pLimit = pLimit;
110775 assert( p->pLimit==0 );
110856 if( pPrior->pLimit ){
110906 assert( !pPrior->pLimit );
110909 pPrior->pLimit = p->pLimit;
110913 p->pLimit = 0;
110936 if( pPrior->pLimit
110937 && sqlite3ExprIsInteger(pPrior->pLimit, &nLimit)
110952 Expr *pLimit, *pOffset; /* Saved values of p->nLimit and p->nOffset */
110963 assert( p->pLimit==0 ); /* Not allowed on leftward elements */
110998 pLimit = p->pLimit;
110999 p->pLimit = 0;
111013 sqlite3ExprDelete(db, p->pLimit);
111014 p->pLimit = pLimit;
111048 Expr *pLimit, *pOffset;
111082 pLimit = p->pLimit;
111083 p->pLimit = 0;
111093 sqlite3ExprDelete(db, p->pLimit);
111094 p->pLimit = pLimit;
111578 sqlite3ExprDelete(db, p->pLimit);
111579 p->pLimit = 0;
112014 if( pSub->pLimit && p->pLimit ) return 0; /* Restriction (13) */
112016 if( (p->selFlags & SF_Compound)!=0 && pSub->pLimit ){
112021 if( pSub->pLimit && (pSrc->nSrc>1 || isAgg) ){
112031 if( pSub->pLimit && p->pWhere ) return 0; /* Restriction (19) */
112032 if( pSub->pLimit && (p->selFlags & SF_Distinct)!=0 ){
112161 Expr *pLimit = p->pLimit;
112167 p->pLimit = 0;
112172 p->pLimit = pLimit;
112354 if( pSub->pLimit ){
112355 pParent->pLimit = pSub->pLimit;
112356 pSub->pLimit = 0;
112426 if( pSubq->pLimit!=0 ){
112613 pNew->pLimit = 0;
126035 Expr *pLimit; /* The LIMIT expression. NULL if there is no limit */
128489 …or.yy132,yymsp[-1].minor.yy14,yymsp[-7].minor.yy381,yymsp[0].minor.yy476.pLimit,yymsp[0].minor.yy4…
128710 {yygotominor.yy476.pLimit = 0; yygotominor.yy476.pOffset = 0;}
128713 {yygotominor.yy476.pLimit = yymsp[0].minor.yy346.pExpr; yygotominor.yy476.pOffset = 0;}
128716 {yygotominor.yy476.pLimit = yymsp[-2].minor.yy346.pExpr; yygotominor.yy476.pOffset = yymsp[0].minor…
128719 {yygotominor.yy476.pOffset = yymsp[-2].minor.yy346.pExpr; yygotominor.yy476.pLimit = yymsp[0].minor…