Lines Matching refs:fg

763   assert( (pSrc->fg.jointype&(JT_LEFT|JT_LTORJ|JT_RIGHT))!=0 ); /* By caller */  in constraintCompatibleWithOuterJoin()
764 testcase( (pSrc->fg.jointype & (JT_LEFT|JT_LTORJ|JT_RIGHT))==JT_LEFT ); in constraintCompatibleWithOuterJoin()
765 testcase( (pSrc->fg.jointype & (JT_LEFT|JT_LTORJ|JT_RIGHT))==JT_LTORJ ); in constraintCompatibleWithOuterJoin()
773 if( (pSrc->fg.jointype & (JT_LEFT|JT_RIGHT))!=0 in constraintCompatibleWithOuterJoin()
797 assert( (pSrc->fg.jointype & JT_RIGHT)==0 ); in termCanDriveIndex()
798 if( (pSrc->fg.jointype & (JT_LEFT|JT_LTORJ|JT_RIGHT))!=0 in termCanDriveIndex()
985 if( pTabItem->fg.viaCoroutine ){ in constructAutomaticIndex()
1011 if( pTabItem->fg.viaCoroutine ){ in constructAutomaticIndex()
1018 pTabItem->fg.viaCoroutine = 0; in constructAutomaticIndex()
1142 if( pTabItem->fg.jointype & (JT_LEFT|JT_LTORJ) ) continue; in sqlite3ConstructBloomFilter()
1213 if( (pSrc->fg.jointype & (JT_LEFT|JT_LTORJ|JT_RIGHT))!=0 in allocateIndexInfo()
1239 if( pOrderBy->a[i].fg.sortFlags & KEYINFO_ORDER_BIGNULL ) break; in allocateIndexInfo()
1351 pIdxOrderBy[j].desc = pOrderBy->a[i].fg.sortFlags & KEYINFO_ORDER_DESC; in allocateIndexInfo()
2655 || (pWC->pWInfo->pTabList->a[pLoop->iTab].fg.jointype in whereLoopOutputAdjust()
2862 if( (pSrc->fg.jointype & (JT_LEFT|JT_LTORJ|JT_RIGHT))!=0 in whereLoopAddBtreeIndex()
3401 if( pSrc->fg.isIndexedBy ){ in whereLoopAddBtree()
3402 assert( pSrc->fg.isCte==0 ); in whereLoopAddBtree()
3425 if( pSrc->fg.notIndexed==0 ){ in whereLoopAddBtree()
3439 && !pSrc->fg.isIndexedBy /* Has no INDEXED BY clause */ in whereLoopAddBtree()
3440 && !pSrc->fg.notIndexed /* Has no NOT INDEXED clause */ in whereLoopAddBtree()
3442 && !pSrc->fg.isCorrelated /* Not a correlated subquery */ in whereLoopAddBtree()
3443 && !pSrc->fg.isRecursive /* Not a recursive common table expression. */ in whereLoopAddBtree()
3444 && (pSrc->fg.jointype & JT_RIGHT)==0 /* Not the right tab of a RIGHT JOIN */ in whereLoopAddBtree()
3492 pProbe=(pSrc->fg.isIndexedBy ? 0 : pProbe->pNext), iSortIdx++ in whereLoopAddBtree()
3495 && !whereUsablePartialIndex(pSrc->iCursor, pSrc->fg.jointype, pWC, in whereLoopAddBtree()
3565 || pSrc->fg.isIndexedBy in whereLoopAddBtree()
3609 if( (pSrc->fg.jointype & JT_RIGHT)!=0 && pProbe->aColExpr ){ in whereLoopAddBtree()
4150 if( pItem->fg.jointype & JT_RIGHT ) return SQLITE_OK; in whereLoopAddOr()
4286 || (pItem->fg.jointype & (JT_OUTER|JT_CROSS|JT_LTORJ))!=0 in whereLoopAddAll()
4298 if( pItem->fg.jointype & JT_LTORJ ) hasRightJoin = 1; in whereLoopAddAll()
4300 bFirstPastRJ = (pItem->fg.jointype & JT_RIGHT)!=0; in whereLoopAddAll()
4308 if( mUnusable || (p->fg.jointype & (JT_OUTER|JT_CROSS)) ){ in whereLoopAddAll()
4614 != (pOrderBy->a[i].fg.sortFlags&KEYINFO_ORDER_DESC) in wherePathSatisfiesOrderBy()
4619 rev = revIdx ^ (pOrderBy->a[i].fg.sortFlags & KEYINFO_ORDER_DESC); in wherePathSatisfiesOrderBy()
4624 if( isMatch && (pOrderBy->a[i].fg.sortFlags & KEYINFO_ORDER_BIGNULL) ){ in wherePathSatisfiesOrderBy()
5196 if( pItem->fg.isIndexedBy || pItem->fg.notIndexed ){ in whereShortCut()
5197 testcase( pItem->fg.isIndexedBy ); in whereShortCut()
5198 testcase( pItem->fg.notIndexed ); in whereShortCut()
5373 if( (pItem->fg.jointype & (JT_LEFT|JT_RIGHT))!=JT_LEFT ) continue; in whereOmitNoopJoin()
5448 testcase( pItem->fg.jointype & JT_LEFT ); in whereCheckIfBloomFilterIsUseful()
5504 testcase( pTabItem->fg.jointype & JT_LEFT ); in whereAddIndexedExpr()
5505 testcase( pTabItem->fg.jointype & JT_RIGHT ); in whereAddIndexedExpr()
5506 testcase( pTabItem->fg.jointype & JT_LTORJ ); in whereAddIndexedExpr()
5507 bMaybeNullRow = (pTabItem->fg.jointype & (JT_LEFT|JT_LTORJ|JT_RIGHT))!=0; in whereAddIndexedExpr()
6012 || (pTabItem->fg.jointype & (JT_LTORJ|JT_RIGHT))!=0 in sqlite3WhereBegin()
6119 if( (pTabItem->fg.jointype & JT_RIGHT)!=0 in sqlite3WhereBegin()
6166 if( pSrc->fg.isMaterialized ){ in sqlite3WhereBegin()
6167 if( pSrc->fg.isCorrelated ){ in sqlite3WhereBegin()
6445 if( pTabItem->fg.viaCoroutine ){ in sqlite3WhereEnd()