Lines Matching refs:ExprHasProperty
18074 #define ExprHasProperty(E,P) (((E)->flags&(P))!=0) macro
18124 ExprHasProperty((p), EP_WinFunc) && p->y.pWin->eFrmType!=TK_FILTER \
29812 if( ExprHasProperty(pExpr, EP_FromJoin) ){
29815 if( ExprHasProperty(pExpr, EP_FromDDL) ){
29847 if( ExprHasProperty(pExpr, EP_FixedCol) ){
29962 !ExprHasProperty(pExpr, EP_Collate) ? "SOFT-" : "",
29972 if( ExprHasProperty(pExpr, EP_TokenOnly) ){
29978 pWin = ExprHasProperty(pExpr, EP_WinFunc) ? pExpr->y.pWin : 0;
30025 if( ExprHasProperty(pExpr, EP_xIsSelect) ){
77160 if( ExprHasProperty(pExpr, EP_IntValue) ){
97349 testcase( ExprHasProperty(pExpr, EP_TokenOnly) );
97350 testcase( ExprHasProperty(pExpr, EP_Reduced) );
97354 if( !ExprHasProperty(pExpr,(EP_TokenOnly|EP_Leaf)) ){
97358 assert( !ExprHasProperty(pExpr, EP_WinFunc) );
97361 }else if( ExprHasProperty(pExpr, EP_xIsSelect) ){
97362 assert( !ExprHasProperty(pExpr, EP_WinFunc) );
97369 if( ExprHasProperty(pExpr, EP_WinFunc) ){
97624 if( !ExprHasProperty(pExpr, EP_IntValue) && pExpr->u.zToken!=0 ){
97629 if( ExprHasProperty(pExpr, EP_WinFunc) ){
97783 assert( !ExprHasProperty(pExpr, EP_TokenOnly|EP_Reduced) );
98027 if( (pNC->ncFlags&NC_AllowAgg)==0 && ExprHasProperty(pOrig, EP_Agg) ){
98031 if( ExprHasProperty(pOrig, EP_Win)
98074 if( ExprHasProperty(pExpr,EP_DblQuoted)
98152 if( !ExprHasProperty(pExpr, EP_Alias) ){
98362 assert( !ExprHasProperty(pExpr, EP_xIsSelect) );
98497 else if( is_agg==0 && ExprHasProperty(pExpr, EP_WinFunc) ){
98517 else if( ExprHasProperty(pExpr, EP_WinFunc) ){
98542 if( ExprHasProperty(pExpr, EP_WinFunc) ){
98571 if( ExprHasProperty(pExpr, EP_xIsSelect) ){
98600 assert( !ExprHasProperty(pExpr, EP_Reduced) );
98931 if( ExprHasProperty(pExpr, EP_WinFunc) ){
99228 if( ExprHasProperty(pItem->pExpr, EP_Agg) ){
99531 while( ExprHasProperty(pExpr, EP_Skip) ){
99544 assert( !ExprHasProperty(pExpr, EP_IntValue) );
99598 while( pExpr && ExprHasProperty(pExpr, EP_Skip) ){
99611 while( pExpr && ExprHasProperty(pExpr, EP_Skip|EP_Unlikely) ){
99612 if( ExprHasProperty(pExpr, EP_Unlikely) ){
99613 assert( !ExprHasProperty(pExpr, EP_xIsSelect) );
99679 && ALWAYS(!ExprHasProperty(p, EP_xIsSelect))
99683 if( ExprHasProperty(p->x.pList->a[i].pExpr, EP_Collate) ){
99763 }else if( ExprHasProperty(pExpr, EP_xIsSelect) ){
99843 if( ExprHasProperty(p, EP_Commuted) ){
100083 int isCommuted = ExprHasProperty(pExpr,EP_Commuted);
100214 if( ExprHasProperty(p, EP_xIsSelect) ){
100252 if( p && p->x.pList && !ExprHasProperty(p, EP_xIsSelect) ){
100459 assert( !ExprHasProperty(pNew, EP_xIsSelect) );
100483 if( ExprHasProperty(pExpr, EP_FromDDL) ){
100521 assert( !ExprHasProperty(pExpr, EP_IntValue|EP_Reduced|EP_TokenOnly) );
100586 assert( !ExprHasProperty(p, EP_IntValue) || p->u.iValue>=0 );
100588 assert( !ExprHasProperty(p, EP_WinFunc) || p->y.pWin!=0 || db->mallocFailed );
100589 assert( p->op!=TK_FUNCTION || ExprHasProperty(p, EP_TokenOnly|EP_Reduced)
100590 || p->y.pWin==0 || ExprHasProperty(p, EP_WinFunc) );
100592 if( ExprHasProperty(p, EP_Leaf) && !ExprHasProperty(p, EP_TokenOnly) ){
100598 if( !ExprHasProperty(p, (EP_TokenOnly|EP_Leaf)) ){
100603 assert( !ExprHasProperty(p, EP_WinFunc) );
100605 }else if( ExprHasProperty(p, EP_xIsSelect) ){
100606 assert( !ExprHasProperty(p, EP_WinFunc) );
100611 if( ExprHasProperty(p, EP_WinFunc) ){
100617 if( ExprHasProperty(p, EP_MemToken) ) sqlite3DbFree(db, p->u.zToken);
100618 if( !ExprHasProperty(p, EP_Static) ){
100644 if( ExprHasProperty(p, EP_TokenOnly) ) return EXPR_TOKENONLYSIZE;
100645 if( ExprHasProperty(p, EP_Reduced) ) return EXPR_REDUCEDSIZE;
100690 || ExprHasProperty(p, EP_WinFunc)
100695 assert( !ExprHasProperty(p, EP_TokenOnly|EP_Reduced) );
100696 assert( !ExprHasProperty(p, EP_FromJoin) );
100697 assert( !ExprHasProperty(p, EP_MemToken) );
100716 if( !ExprHasProperty(p, EP_IntValue) && p->u.zToken ){
100783 if( !ExprHasProperty(p, EP_IntValue) && p->u.zToken ){
100789 assert( ExprHasProperty(p, EP_Reduced)==0 );
100816 if( ExprHasProperty(p, EP_xIsSelect) ){
100824 if( ExprHasProperty(pNew, EP_Reduced|EP_TokenOnly|EP_WinFunc) ){
100826 if( !ExprHasProperty(pNew, EP_TokenOnly|EP_Leaf) ){
100833 if( ExprHasProperty(p, EP_WinFunc) ){
100835 assert( ExprHasProperty(pNew, EP_WinFunc) );
100842 if( !ExprHasProperty(p, EP_TokenOnly|EP_Leaf) ){
100892 if( pExpr->op==TK_FUNCTION && ExprHasProperty(pExpr, EP_WinFunc) ){
101407 if( !ExprHasProperty(pExpr, EP_Quoted)
101488 if( pWalker->eCode==2 && ExprHasProperty(pExpr, EP_FromJoin) ){
101498 if( (pWalker->eCode>=4 || ExprHasProperty(pExpr,EP_ConstFunc))
101499 && !ExprHasProperty(pExpr, EP_WinFunc)
101521 if( ExprHasProperty(pExpr, EP_FixedCol) && pWalker->eCode!=2 ){
101626 if( ExprHasProperty(pExpr, EP_xIsSelect) ){
101774 return ExprHasProperty(p, EP_CanBeNull) ||
101851 if( !ExprHasProperty(pX, EP_xIsSelect) ) return 0; /* Not a subquery */
101852 if( ExprHasProperty(pX, EP_VarSelect) ) return 0; /* Correlated subq */
101910 assert( !ExprHasProperty(pIn, EP_xIsSelect) );
102177 && !ExprHasProperty(pX, EP_xIsSelect)
102332 if( !ExprHasProperty(pExpr, EP_VarSelect) && pParse->iSelfTab==0 ){
102337 if( ExprHasProperty(pExpr, EP_Subrtn) ){
102339 if( ExprHasProperty(pExpr, EP_xIsSelect) ){
102352 assert( !ExprHasProperty(pExpr, EP_TokenOnly|EP_Reduced) );
102371 if( ExprHasProperty(pExpr, EP_xIsSelect) ){
102379 if( ExprHasProperty(pExpr, EP_xIsSelect) ){
102508 assert( ExprHasProperty(pExpr, EP_xIsSelect) );
102521 if( !ExprHasProperty(pExpr, EP_VarSelect) ){
102524 if( ExprHasProperty(pExpr, EP_Subrtn) ){
102752 assert( !ExprHasProperty(pExpr, EP_xIsSelect) );
103324 if( ExprHasProperty(pExpr, EP_FixedCol) ){
103414 assert( !ExprHasProperty(pExpr, EP_IntValue) );
103420 assert( !ExprHasProperty(pExpr, EP_IntValue) );
103438 assert( !ExprHasProperty(pExpr, EP_IntValue) );
103450 assert( !ExprHasProperty(pExpr, EP_IntValue) );
103497 ExprHasProperty(pExpr,EP_Commuted));
103547 assert( !ExprHasProperty(pExpr, EP_IntValue) );
103605 assert( !ExprHasProperty(pExpr, EP_IntValue) );
103624 if( ExprHasProperty(pExpr, EP_WinFunc) ){
103634 assert( !ExprHasProperty(pExpr, EP_xIsSelect) );
103635 assert( !ExprHasProperty(pExpr, EP_TokenOnly) );
103638 assert( !ExprHasProperty(pExpr, EP_IntValue) );
103713 if( nFarg>=2 && ExprHasProperty(pExpr, EP_InfixFunc) ){
103925 assert( !ExprHasProperty(pExpr, EP_xIsSelect) && pExpr->x.pList );
103990 assert( !ExprHasProperty(pExpr, EP_IntValue) );
104045 if( pExpr!=0 && ExprHasProperty(pExpr, EP_HasFunc) ){
104120 if( ExprHasProperty(pExpr,EP_Subquery) ){
104268 assert( !ExprHasProperty(pExpr, EP_xIsSelect) );
104394 r1, r2, dest, jumpIfNull, ExprHasProperty(pExpr,EP_Commuted));
104570 r1, r2, dest, jumpIfNull,ExprHasProperty(pExpr,EP_Commuted));
104739 if( ExprHasProperty(pA,EP_WinFunc)!=ExprHasProperty(pB,EP_WinFunc) ){
104742 if( ExprHasProperty(pA,EP_WinFunc) ){
104840 if( seenNot && ExprHasProperty(p, EP_xIsSelect) ) return 0;
104841 assert( ExprHasProperty(p,EP_xIsSelect)
104952 if( ExprHasProperty(pExpr, EP_FromJoin) ) return WRC_Prune;
105190 if( ExprHasProperty(pExpr, EP_WinFunc) ){
105253 assert( !ExprHasProperty(pExpr, EP_TokenOnly|EP_Reduced) );
105331 assert( !ExprHasProperty(pExpr, EP_xIsSelect) );
105335 assert( !ExprHasProperty(pExpr, EP_IntValue) );
105348 assert( !ExprHasProperty(pExpr, EP_TokenOnly|EP_Reduced) );
109709 if( ExprHasProperty(pExpr, EP_TokenOnly|EP_Leaf) ) break;
109710 if( ExprHasProperty(pExpr, EP_xIsSelect) ){
118518 assert( !ExprHasProperty(pExpr, EP_xIsSelect) );
129211 assert( !ExprHasProperty(pEq, EP_TokenOnly|EP_Reduced) );
129247 assert( !ExprHasProperty(p, EP_TokenOnly|EP_Reduced) );
129269 if( ExprHasProperty(p, EP_FromJoin)
130603 assert( ExprHasProperty(pExpr, EP_xIsSelect) );
130835 assert( !ExprHasProperty(pColExpr, EP_IntValue) );
132311 if( ExprHasProperty(pExpr, EP_FromJoin)
132318 && !ExprHasProperty(pExpr, EP_FixedCol)
132340 testcase( ExprHasProperty(pCopy, EP_Subquery) );
132345 if( pNew && ExprHasProperty(pExpr,EP_FromJoin) ){
132371 if( ExprHasProperty(pExpr, EP_xIsSelect) ){
132377 if( ExprHasProperty(pExpr, EP_WinFunc) ){
133048 if( ExprHasProperty(pColumn, EP_FixedCol) ) return;
133086 if( ExprHasProperty(pExpr, EP_FromJoin) ) return;
133115 if( ExprHasProperty(pExpr, EP_FixedCol|EP_FromJoin) ){
133116 testcase( ExprHasProperty(pExpr, EP_FixedCol) );
133117 testcase( ExprHasProperty(pExpr, EP_FromJoin) );
133294 && (ExprHasProperty(pWhere,EP_FromJoin)==0
133299 if( ExprHasProperty(pWhere,EP_FromJoin) && pWhere->iRightJoinTable!=iCursor ){
133352 if( pEList==0 || pEList->nExpr!=1 || ExprHasProperty(pFunc, EP_WinFunc) ){
133403 if( ExprHasProperty(pExpr, EP_Distinct|EP_WinFunc) ) return 0;
133948 assert( !ExprHasProperty(pE->pLeft, EP_IntValue) );
134227 assert( !ExprHasProperty(pE, EP_xIsSelect) );
134251 assert( !ExprHasProperty(pF->pExpr, EP_xIsSelect) );
134281 assert( !ExprHasProperty(pF->pExpr, EP_xIsSelect) );
134283 if( ExprHasProperty(pF->pExpr, EP_WinFunc) ){
135222 assert( !ExprHasProperty(pExpr, EP_xIsSelect) );
135227 if( ExprHasProperty(pExpr, EP_WinFunc) ){
135552 if( ExprHasProperty(sAggInfo.aFunc[i].pExpr, EP_WinFunc) ) continue;
141034 && (pLevel->iLeftJoin==0 || ExprHasProperty(pTerm->pExpr, EP_FromJoin))
141705 if( !ExprHasProperty(pExpr, EP_FromJoin)
141714 if( ExprHasProperty(pTerm->pExpr, EP_FromJoin) ) continue;
141882 testcase( ExprHasProperty(pExpr, EP_Skip) );
141883 testcase( ExprHasProperty(pExpr, EP_Unlikely) );
142893 && !ExprHasProperty(pOrExpr, EP_FromJoin)
143081 if( (pTabItem->fg.jointype&JT_LEFT) && !ExprHasProperty(pE,EP_FromJoin) ){
143151 assert( !ExprHasProperty(pE, EP_FromJoin) );
143290 if( p && ExprHasProperty(p, EP_Unlikely) ){
144077 assert( !ExprHasProperty(pNew, EP_xIsSelect) );
144112 if( ExprHasProperty(pExpr, EP_FromJoin) ) return 0;
144269 if( ExprHasProperty(pExpr, EP_xIsSelect) ){
144282 if( ExprHasProperty(pExpr, EP_FromJoin) ){
144511 if( ExprHasProperty(pExpr, EP_FromJoin) && pNewExpr ){
144601 && !ExprHasProperty(pExpr, EP_FromJoin)
144718 if( p->op==TK_COLUMN && !ExprHasProperty(p, EP_FixedCol) ){
144720 }else if( ExprHasProperty(p, EP_TokenOnly|EP_Leaf) ){
144729 }else if( ExprHasProperty(p, EP_xIsSelect) ){
144730 if( ExprHasProperty(p, EP_VarSelect) ) pMaskSet->bVarSelect = 1;
145083 && (pScan->iEquiv<=1 || !ExprHasProperty(pTerm->pExpr, EP_FromJoin))
145492 && !ExprHasProperty(pTerm->pExpr, EP_FromJoin)
145562 assert( !ExprHasProperty(pExpr, EP_FromJoin) /* prereq always non-zero */
145567 && !ExprHasProperty(pExpr, EP_FromJoin)
145810 && !ExprHasProperty(pTerm->pExpr, EP_FromJoin)
146574 if( ExprHasProperty(pTerm->pExpr, EP_FromJoin) ) zType[2] = 'L';
147314 && !ExprHasProperty(pTerm->pExpr, EP_FromJoin)
147341 if( ExprHasProperty(pExpr, EP_xIsSelect) ){
147471 && ((eOp & WO_IN)==0 || !ExprHasProperty(pTerm->pExpr, EP_xIsSelect))
147669 if( (!ExprHasProperty(pExpr, EP_FromJoin) || pExpr->iRightJoinTable==iTab)
147670 && (isLeft==0 || ExprHasProperty(pExpr, EP_FromJoin))
149367 if( pExpr->op==TK_FUNCTION && ExprHasProperty(pExpr, EP_ConstFunc)==0 ){
149829 if( !ExprHasProperty(pTerm->pExpr, EP_FromJoin)
151138 if( !ExprHasProperty(pExpr, EP_WinFunc) ){
151169 assert( ExprHasProperty(pExpr, EP_Static)==0 );
151262 assert( pDup==0 || !ExprHasProperty(pDup, EP_MemToken) );
151266 for(pSub=pDup; ExprHasProperty(pSub, EP_Skip); pSub=pSub->pLeft){