Home
last modified time | relevance | path

Searched refs:EP_OuterON (Results 1 – 9 of 9) sorted by relevance

/sqlite-3.40.0/src/
H A Dwhereexpr.c462 if( pDerived && ExprHasProperty(pBase, EP_OuterON|EP_InnerON) ){ in transferJoinMarkings()
463 pDerived->flags |= pBase->flags & (EP_OuterON|EP_InnerON); in transferJoinMarkings()
918 if( ExprHasProperty(pExpr, EP_OuterON) ) return 0; in termIsEquivalence()
1111 if( ExprHasProperty(pExpr, EP_OuterON|EP_InnerON) ){ in exprAnalyze()
1113 if( ExprHasProperty(pExpr, EP_OuterON) ){ in exprAnalyze()
1200 && !ExprHasProperty(pExpr,EP_OuterON) in exprAnalyze()
1271 && !ExprHasProperty(pExpr, EP_OuterON) in exprAnalyze()
1475 if( ExprHasProperty(pExpr, EP_OuterON) && pNewExpr ){ in exprAnalyze()
1476 ExprSetProperty(pNewExpr, EP_OuterON); in exprAnalyze()
1843 joinType = EP_OuterON; in sqlite3WhereTabFuncArgs()
H A Dwherecode.c353 && (pLevel->iLeftJoin==0 || ExprHasProperty(pTerm->pExpr, EP_OuterON)) in disableTerm()
1075 if( !ExprHasProperty(pExpr, EP_OuterON) in codeCursorHint()
1084 if( ExprHasProperty(pTerm->pExpr, EP_OuterON) ) continue; in codeCursorHint()
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 Dselect.c408 assert( joinFlag==EP_OuterON || joinFlag==EP_InnerON ); in sqlite3SetJoinExpr()
445 ExprClearProperty(p, EP_OuterON|EP_InnerON); in unsetJoinExpr()
3781 if( ExprHasProperty(pExpr, EP_OuterON|EP_InnerON) in substExpr()
4001 if( ExprHasProperty(pExpr, EP_OuterON) ){ in renumberCursorsCb()
4606 sqlite3SetJoinExpr(pWhere, iNewParent, EP_OuterON); in flattenSubquery()
4743 testcase( ExprHasProperty(pExpr, EP_OuterON) ); in findConstInWhere()
4784 testcase( ExprHasProperty(pExpr, EP_OuterON) ); in propagateConstantExprRewriteOne()
4915 x.mExcludeOn = EP_InnerON | EP_OuterON; in propagateConstants()
4918 x.mExcludeOn = EP_OuterON; in propagateConstants()
5092 && (ExprHasProperty(pWhere,EP_OuterON)==0 in pushDownWhereTerms()
[all …]
H A Dexpr.c1081 assert( !ExprHasProperty(pNew, EP_InnerON|EP_OuterON) ); in sqlite3ExprFunction()
1358 assert( !ExprHasProperty(p, EP_OuterON) ); in dupedExprStructSize()
2184 if( pWalker->eCode==2 && ExprHasProperty(pExpr, EP_OuterON) ){ in exprNodeIsConstant()
2331 if( !ExprHasProperty(pExpr, EP_OuterON) ) return 0; /* rule (4a) */ in sqlite3ExprIsTableConstraint()
2334 if( ExprHasProperty(pExpr, EP_OuterON) ) return 0; /* rule (5) */ in sqlite3ExprIsTableConstraint()
5159 pDel->flags |= EP_OuterON; in exprCodeBetween()
5852 if( ExprHasProperty(pExpr, EP_OuterON) ) return WRC_Prune; in impliesNotNullRow()
H A Dwhere.c333 && (pScan->iEquiv<=1 || !ExprHasProperty(pTerm->pExpr, EP_OuterON)) in whereScanNext()
766 testcase( ExprHasProperty(pTerm->pExpr, EP_OuterON) ) in constraintCompatibleWithOuterJoin()
768 if( !ExprHasProperty(pTerm->pExpr, EP_OuterON|EP_InnerON) in constraintCompatibleWithOuterJoin()
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()
5383 if( !ExprHasProperty(pTerm->pExpr, EP_OuterON) in whereOmitNoopJoin()
H A DsqliteInt.h2895 #define EP_OuterON 0x000001 /* Originates in ON/USING clause of outer join */ macro
2940 #define ExprAlwaysTrue(E) (((E)->flags&(EP_OuterON|EP_IsTrue))==EP_IsTrue)
2941 #define ExprAlwaysFalse(E) (((E)->flags&(EP_OuterON|EP_IsFalse))==EP_IsFalse)
H A Dprintf.c958 && (ExprHasProperty(pExpr,EP_OuterON|EP_InnerON) || pExpr->w.iOfst<=0) in sqlite3RecordErrorOffsetOfExpr()
H A Dtreeview.c495 if( ExprHasProperty(pExpr, EP_OuterON) ){ in sqlite3TreeViewExpr()
H A Dresolve.c919 testcase( ExprHasProperty(pExpr, EP_OuterON) ); in resolveExprStep()