• Home
  • Raw
  • Download

Lines Matching refs:pLimit

18459   Expr *pLimit;          /* LIMIT expression. NULL means not used. */  member
29657 if( p->pLimit ) n++;
29710 if( p->pLimit ){
29712 sqlite3TreeViewExpr(pView, p->pLimit->pLeft, p->pLimit->pRight!=0);
29713 if( p->pLimit->pRight ){
29715 sqlite3TreeViewExpr(pView, p->pLimit->pRight, 0);
97637 if( sqlite3WalkExpr(pWalker, p->pLimit) ) return WRC_Abort;
99312 if( sqlite3ResolveExprNames(&sNC, p->pLimit) ){
100426 heightOfExpr(p->pLimit, pnHeight);
101306 pNew->pLimit = sqlite3ExprDup(db, p->pLimit, flags);
102096 if( p->pLimit ) return 0; /* Has no LIMIT clause */
102737 Expr *pLimit; /* New limit expression */
102803 if( pSel->pLimit ){
102807 pLimit = sqlite3Expr(db, TK_INTEGER, "0");
102808 if( pLimit ){
102809 pLimit->affExpr = SQLITE_AFF_NUMERIC;
102810 pLimit = sqlite3PExpr(pParse, TK_NE,
102811 sqlite3ExprDup(db, pSel->pLimit->pLeft, 0), pLimit);
102813 sqlite3ExprDelete(db, pSel->pLimit->pLeft);
102814 pSel->pLimit->pLeft = pLimit;
102817 pLimit = sqlite3Expr(pParse->db, TK_INTEGER, "1");
102818 pSel->pLimit = sqlite3PExpr(pParse, TK_LIMIT, pLimit, 0);
110023 if( sqlite3FixExpr(pFix, pSelect->pLimit) ){
116188 Expr *pLimit, /* Optional LIMIT clause */
116206 SF_IncludeHidden, pLimit);
116227 Expr *pLimit, /* The LIMIT clause. May be null */
116240 if( pOrderBy && pLimit==0 ) {
116250 if( pLimit == 0 ) {
116297 pOrderBy,0,pLimit
116320 Expr *pLimit /* LIMIT clause. May be null */
116393 pParse, pTabList, pWhere, pOrderBy, pLimit, "DELETE"
116396 pLimit = 0;
116448 pWhere, pOrderBy, pLimit, iTabCur
116452 pLimit = 0;
116706 sqlite3ExprDelete(db, pLimit);
123137 if( pSelect->pLimit ){
129386 sqlite3ExprDelete(db, p->pLimit);
129425 Expr *pLimit /* LIMIT value. NULL means not used */
129455 pNew->pLimit = pLimit;
131489 Expr *pLimit = p->pLimit;
131499 if( pLimit ){
131500 assert( pLimit->op==TK_LIMIT );
131501 assert( pLimit->pLeft!=0 );
131505 if( sqlite3ExprIsInteger(pLimit->pLeft, &n) ){
131515 sqlite3ExprCode(pParse, pLimit->pLeft, iLimit);
131520 if( pLimit->pRight ){
131523 sqlite3ExprCode(pParse, pLimit->pRight, iOffset);
131653 Expr *pLimit; /* Saved LIMIT and OFFSET */
131670 pLimit = p->pLimit;
131673 p->pLimit = 0;
131767 p->pLimit = pLimit;
131802 int bShowAll = p->pLimit==0;
131879 if( pPrior->pOrderBy || pPrior->pLimit ){
131936 assert( !pPrior->pLimit );
131939 pPrior->pLimit = p->pLimit;
131941 p->pLimit = 0;
131962 if( pPrior->pLimit
131963 && sqlite3ExprIsInteger(pPrior->pLimit->pLeft, &nLimit)
131978 Expr *pLimit; /* Saved values of p->nLimit */
131989 assert( p->pLimit==0 ); /* Not allowed on leftward elements */
132022 pLimit = p->pLimit;
132023 p->pLimit = 0;
132036 sqlite3ExprDelete(db, p->pLimit);
132037 p->pLimit = pLimit;
132065 Expr *pLimit;
132098 pLimit = p->pLimit;
132099 p->pLimit = 0;
132110 sqlite3ExprDelete(db, p->pLimit);
132111 p->pLimit = pLimit;
132593 sqlite3ExprDelete(db, p->pLimit);
132594 p->pLimit = 0;
133127 if( pSub->pLimit && p->pLimit ) return 0; /* Restriction (13) */
133128 if( pSub->pLimit && pSub->pLimit->pRight ) return 0; /* Restriction (14) */
133129 if( (p->selFlags & SF_Compound)!=0 && pSub->pLimit ){
133134 if( pSub->pLimit && (pSrc->nSrc>1 || isAgg) ){
133141 if( pSub->pLimit && p->pWhere ) return 0; /* Restriction (19) */
133142 if( pSub->pLimit && (p->selFlags & SF_Distinct)!=0 ){
133281 Expr *pLimit = p->pLimit;
133286 p->pLimit = 0;
133288 p->pLimit = pLimit;
133468 if( pSub->pLimit ){
133469 pParent->pLimit = pSub->pLimit;
133470 pSub->pLimit = 0;
133768 if( pSubq->pLimit!=0 ){
133993 pNew->pLimit = 0;
135010 if( pSub->pLimit ) return 0; /* No LIMIT clause */
137792 Expr *pLimit /* LIMIT clause */
137808 if( pOrderBy && pLimit==0 ) {
137813 pLimit2 = sqlite3ExprDup(db, pLimit, 0);
137816 UNUSED_PARAMETER(pLimit);
137832 if( pLimit ){
137848 if( pLimit ){
137885 Expr *pLimit, /* LIMIT clause. May be null */
137984 pParse, pTabList, pWhere, pOrderBy, pLimit, "UPDATE"
137987 pLimit = 0;
138216 pWhere, pOrderBy, pLimit, iDataCur
138219 pLimit = 0;
138276 pParse, iEph, pPk, pChanges, pTabList, pWhere, pOrderBy, pLimit
138721 sqlite3ExprDelete(db, pLimit);
154309 Expr *pLimit
154317 sqlite3ExprDelete(pParse->db, pLimit);