| /sqlite-3.40.0/src/ |
| H A D | expr.c | 142 if( ExprHasProperty(pExpr, EP_Unlikely) ){ in sqlite3ExprSkipCollateAndLikely() 371 if( ExprHasProperty(p, EP_Commuted) ){ in sqlite3ExprCompareCollSeq() 1115 if( ExprHasProperty(pExpr, EP_FromDDL) ){ in sqlite3ExprFunctionUsable() 1225 if( ExprHasProperty(p, EP_Leaf) && !ExprHasProperty(p, EP_TokenOnly) ){ in sqlite3ExprDeleteNN() 1245 if( ExprHasProperty(p, EP_WinFunc) ){ in sqlite3ExprDeleteNN() 1251 if( !ExprHasProperty(p, EP_Static) ){ in sqlite3ExprDeleteNN() 1352 || ExprHasProperty(p, EP_WinFunc) in dupedExprStructSize() 1495 if( ExprHasProperty(p, EP_WinFunc) ){ in exprDup() 3270 if( ExprHasProperty(pExpr, EP_Subrtn) ){ in sqlite3CodeSubselect() 4115 && !ExprHasProperty(pExpr, EP_Leaf) in sqlite3ExprCodeTarget() [all …]
|
| H A D | walker.c | 66 testcase( ExprHasProperty(pExpr, EP_TokenOnly) ); in walkExpr() 67 testcase( ExprHasProperty(pExpr, EP_Reduced) ); in walkExpr() 71 if( !ExprHasProperty(pExpr,(EP_TokenOnly|EP_Leaf)) ){ in walkExpr() 75 assert( !ExprHasProperty(pExpr, EP_WinFunc) ); in walkExpr() 79 assert( !ExprHasProperty(pExpr, EP_WinFunc) ); in walkExpr() 86 if( ExprHasProperty(pExpr, EP_WinFunc) ){ in walkExpr()
|
| H A D | treeview.c | 495 if( ExprHasProperty(pExpr, EP_OuterON) ){ in sqlite3TreeViewExpr() 498 if( ExprHasProperty(pExpr, EP_InnerON) ){ in sqlite3TreeViewExpr() 501 if( ExprHasProperty(pExpr, EP_FromDDL) ){ in sqlite3TreeViewExpr() 534 if( ExprHasProperty(pExpr, EP_FixedCol) ){ in sqlite3TreeViewExpr() 549 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3TreeViewExpr() 555 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3TreeViewExpr() 570 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3TreeViewExpr() 576 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3TreeViewExpr() 586 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3TreeViewExpr() 667 if( ExprHasProperty(pExpr, EP_TokenOnly) ){ in sqlite3TreeViewExpr() [all …]
|
| H A D | whereexpr.c | 80 if( p && ExprHasProperty(p, EP_Unlikely) ){ in whereClauseInsert() 212 assert( !ExprHasProperty(pRight, EP_IntValue) ); in isLikeOrGlob() 298 assert( !ExprHasProperty(pRight, EP_IntValue) ); in isLikeOrGlob() 389 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in isAuxiliaryVtabOperator() 420 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in isAuxiliaryVtabOperator() 918 if( ExprHasProperty(pExpr, EP_OuterON) ) return 0; in termIsEquivalence() 1113 if( ExprHasProperty(pExpr, EP_OuterON) ){ in exprAnalyze() 1161 && !ExprHasProperty(pRight, EP_FixedCol) in exprAnalyze() 1200 && !ExprHasProperty(pExpr,EP_OuterON) in exprAnalyze() 1203 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in exprAnalyze() [all …]
|
| H A D | resolve.c | 91 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in resolveAlias() 97 if( ExprHasProperty(pExpr, EP_WinFunc) ){ in resolveAlias() 587 if( ExprHasProperty(pOrig, EP_Win) in lookupName() 630 if( ExprHasProperty(pExpr,EP_DblQuoted) in lookupName() 674 if( ExprHasProperty(pExpr,EP_Leaf) ){ in lookupName() 838 assert( !ExprHasProperty(p, EP_IntValue) ); in exprProbability() 1155 else if( ExprHasProperty(pExpr, EP_WinFunc) ){ in resolveExprStep() 1181 if( ExprHasProperty(pExpr, EP_WinFunc) ){ in resolveExprStep() 1247 assert( !ExprHasProperty(pExpr, EP_Reduced) ); in resolveExprStep() 1325 assert( !ExprHasProperty(pE, EP_IntValue) ); in resolveAsName() [all …]
|
| H A D | select.c | 3789 && !ExprHasProperty(pExpr, EP_FixedCol) in substExpr() 3865 if( ExprHasProperty(pExpr, EP_WinFunc) ){ in substExpr() 4001 if( ExprHasProperty(pExpr, EP_OuterON) ){ in renumberCursorsCb() 5092 && (ExprHasProperty(pWhere,EP_OuterON)==0 in pushDownWhereTerms() 5097 if( ExprHasProperty(pWhere,EP_OuterON) in pushDownWhereTerms() 5168 || ExprHasProperty(pFunc, EP_WinFunc) in minMaxQuery() 5173 assert( !ExprHasProperty(pFunc, EP_IntValue) ); in minMaxQuery() 5234 testcase( ExprHasProperty(pExpr, EP_Distinct) ); in isSimpleCount() 5235 testcase( ExprHasProperty(pExpr, EP_WinFunc) ); in isSimpleCount() 6306 if( ExprHasProperty(pF->pFExpr, EP_WinFunc) ){ in updateAccumulator() [all …]
|
| H A D | wherecode.c | 353 && (pLevel->iLeftJoin==0 || ExprHasProperty(pTerm->pExpr, EP_OuterON)) in disableTerm() 615 if( pExpr->iTable==0 || !ExprHasProperty(pExpr, EP_Subrtn) ){ in codeEqualityTerm() 1075 if( !ExprHasProperty(pExpr, EP_OuterON) in codeCursorHint() 1084 if( ExprHasProperty(pTerm->pExpr, EP_OuterON) ) continue; in codeCursorHint() 2239 if( ExprHasProperty(pExpr, EP_Subquery) ) continue; /* tag-20220303a */ in sqlite3WhereCodeOneLoopStart() 2266 && !ExprHasProperty(pOrExpr, EP_OuterON) in sqlite3WhereCodeOneLoopStart() 2475 if( !ExprHasProperty(pE,EP_OuterON|EP_InnerON) ){ in sqlite3WhereCodeOneLoopStart() 2480 && !ExprHasProperty(pE,EP_OuterON) ){ in sqlite3WhereCodeOneLoopStart() 2556 assert( !ExprHasProperty(pE, EP_OuterON) ); in sqlite3WhereCodeOneLoopStart() 2723 if( ExprHasProperty(pTerm->pExpr, EP_OuterON|EP_InnerON) ) continue; in sqlite3WhereRightJoinLoop()
|
| H A D | vdbemem.c | 1478 assert( !ExprHasProperty(p, EP_IntValue) ); in valueFromFunction() 1581 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in valueFromExpr() 1606 if( ExprHasProperty(pExpr, EP_IntValue) ){ in valueFromExpr() 1655 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in valueFromExpr() 1673 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in valueFromExpr()
|
| H A D | where.c | 299 if( ALWAYS(p!=0) && p->op==TK_COLUMN && !ExprHasProperty(p, EP_FixedCol) ){ in whereRightSubexprIsColumn() 333 && (pScan->iEquiv<=1 || !ExprHasProperty(pTerm->pExpr, EP_OuterON)) in whereScanNext() 766 testcase( ExprHasProperty(pTerm->pExpr, EP_OuterON) ) in constraintCompatibleWithOuterJoin() 767 testcase( ExprHasProperty(pTerm->pExpr, EP_InnerON) ); in constraintCompatibleWithOuterJoin() 768 if( !ExprHasProperty(pTerm->pExpr, EP_OuterON|EP_InnerON) in constraintCompatibleWithOuterJoin() 774 && ExprHasProperty(pTerm->pExpr, EP_InnerON) in constraintCompatibleWithOuterJoin() 1254 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in allocateIndexInfo() 2092 if( ExprHasProperty(pTerm->pExpr, EP_OuterON) ) zType[2] = 'L'; in sqlite3WhereTermPrint() 3239 if( (!ExprHasProperty(pExpr, EP_OuterON) || pExpr->w.iJoin==iTab) in whereUsablePartialIndex() 3240 && ((jointype & JT_OUTER)==0 || ExprHasProperty(pExpr, EP_OuterON)) in whereUsablePartialIndex() [all …]
|
| H A D | printf.c | 856 if( ALWAYS(pExpr) && ALWAYS(!ExprHasProperty(pExpr,EP_IntValue)) ){ in sqlite3_str_vappendf() 958 && (ExprHasProperty(pExpr,EP_OuterON|EP_InnerON) || pExpr->w.iOfst<=0) in sqlite3RecordErrorOffsetOfExpr()
|
| H A D | attach.c | 360 assert( !ExprHasProperty(pAuthArg, EP_IntValue) ); in codeAttach()
|
| H A D | insert.c | 1208 ExprHasProperty(pX, EP_Subquery) ? OP_Copy : OP_SCopy, y, iRegStore); in sqlite3Insert() 2944 assert( pDestExpr==0 || !ExprHasProperty(pDestExpr, EP_IntValue) ); in xferOptimization() 2946 assert( pSrcExpr==0 || !ExprHasProperty(pSrcExpr, EP_IntValue) ); in xferOptimization()
|
| H A D | window.c | 775 if( !ExprHasProperty(pExpr, EP_WinFunc) ){ in selectWindowRewriteExprCb() 808 assert( ExprHasProperty(pExpr, EP_Static)==0 ); in selectWindowRewriteExprCb() 943 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in disallowAggregatesInOrderByCb()
|
| H A D | func.c | 1980 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3IsLikeFunction() 2004 assert( !ExprHasProperty(pEscape, EP_IntValue) ); in sqlite3IsLikeFunction()
|
| H A D | util.c | 267 assert( !ExprHasProperty(p, EP_IntValue) ); in sqlite3DequoteExpr()
|
| H A D | build.c | 1862 assert( !ExprHasProperty(pCExpr, EP_IntValue) ); in sqlite3AddPrimaryKey() 4118 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in sqlite3CreateIndex() 4216 assert( !ExprHasProperty(pListItem->pExpr, EP_IntValue) ); in sqlite3CreateIndex()
|
| H A D | sqliteInt.h | 2936 #define ExprHasProperty(E,P) (((E)->flags&(P))!=0) macro 2996 ExprHasProperty((p), EP_WinFunc) && p->y.pWin->eFrmType!=TK_FILTER \
|
| H A D | pragma.c | 1202 assert( pColExpr==0 || !ExprHasProperty(pColExpr, EP_IntValue) in sqlite3Pragma()
|
| H A D | vdbeaux.c | 1678 assert( !ExprHasProperty(pExpr, EP_IntValue) ); in displayP4Expr()
|