• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/Heimdal-398.1.2/lib/sqlite/

Lines Matching refs:pLimit

10702   Expr *pLimit;          /* LIMIT expression. NULL means not used. */
71747 if( sqlite3WalkExpr(pWalker, p->pLimit) ) return WRC_Abort;
72772 if( sqlite3ResolveExprNames(&sNC, p->pLimit) ||
73327 heightOfExpr(p->pLimit, pnHeight);
73974 pNew->pLimit = sqlite3ExprDup(db, p->pLimit, flags);
74377 if( p->pLimit ) return 0; /* Has no LIMIT clause */
74771 sqlite3ExprDelete(pParse->db, pSel->pLimit);
74772 pSel->pLimit = sqlite3PExpr(pParse, TK_INTEGER, 0, 0,
83534 Expr *pLimit, /* The LIMIT clause. May be null */
83547 if( pOrderBy && (pLimit == 0) ) {
83556 if( pLimit == 0 ) {
83557 /* if pLimit is null, pOffset will always be null as well. */
83586 pOrderBy,0,pLimit,pOffset);
83608 sqlite3ExprDelete(pParse->db, pLimit);
88545 if( pSelect->pLimit ){
88548 assert( pSelect->pOffset==0 ); /* Must be so if pLimit==0 */
92377 sqlite3ExprDelete(db, p->pLimit);
92406 Expr *pLimit, /* LIMIT value. NULL means not used */
92413 assert( db->mallocFailed || !pOffset || pLimit ); /* OFFSET implies LIMIT */
92429 pNew->pLimit = pLimit;
92431 assert( pOffset==0 || pLimit!=0 );
93770 ** pLimit and pOffset expressions. pLimit and pOffset hold the expressions
93778 ** a limit or offset is defined by pLimit and pOffset. iLimit and
93781 ** Only if pLimit!=0 or pOffset!=0 do the limit registers get
93800 assert( p->pOffset==0 || p->pLimit!=0 );
93801 if( p->pLimit ){
93805 if( sqlite3ExprIsInteger(p->pLimit, &n) ){
93814 sqlite3ExprCode(pParse, p->pLimit, iLimit);
93932 if( pPrior->pLimit ){
93974 assert( !pPrior->pLimit );
93975 pPrior->pLimit = p->pLimit;
93979 p->pLimit = 0;
93997 if( pPrior->pLimit
93998 && sqlite3ExprIsInteger(pPrior->pLimit, &nLimit)
94013 Expr *pLimit, *pOffset; /* Saved values of p->nLimit and p->nOffset */
94020 if( dest.eDest==priorOp && ALWAYS(!p->pLimit &&!p->pOffset) ){
94026 assert( p->pLimit==0 ); /* Not allowed on leftward elements */
94061 pLimit = p->pLimit;
94062 p->pLimit = 0;
94076 sqlite3ExprDelete(db, p->pLimit);
94077 p->pLimit = pLimit;
94111 Expr *pLimit, *pOffset;
94145 pLimit = p->pLimit;
94146 p->pLimit = 0;
94156 sqlite3ExprDelete(db, p->pLimit);
94157 p->pLimit = pLimit;
94664 sqlite3ExprDelete(db, p->pLimit);
94665 p->pLimit = 0;
95082 if( pSub->pLimit && p->pLimit ) return 0; /* Restriction (13) */
95084 if( p->pRightmost && pSub->pLimit ){
95089 if( pSub->pLimit && (pSrc->nSrc>1 || isAgg) ){
95099 if( pSub->pLimit && p->pWhere ) return 0; /* Restriction (19) */
95100 if( pSub->pLimit && (p->selFlags & SF_Distinct)!=0 ){
95215 Expr *pLimit = p->pLimit;
95220 p->pLimit = 0;
95222 p->pLimit = pLimit;
95399 if( pSub->pLimit ){
95400 pParent->pLimit = pSub->pLimit;
95401 pSub->pLimit = 0;
105570 Expr *pLimit; /* The LIMIT expression. NULL if there is no limit */
107921 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);
108070 {yygotominor.yy292.pLimit = 0; yygotominor.yy292.pOffset = 0;}
108073 {yygotominor.yy292.pLimit = yymsp[0].minor.yy118.pExpr; yygotominor.yy292.pOffset = 0;}
108076 {yygotominor.yy292.pLimit = yymsp[-2].minor.yy118.pExpr; yygotominor.yy292.pOffset = yymsp[0].minor.yy118.pExpr;}
108079 {yygotominor.yy292.pOffset = yymsp[-2].minor.yy118.pExpr; yygotominor.yy292.pLimit = yymsp[0].minor.yy118.pExpr;}