Lines Matching refs:pTabItem

1019   SrcItem *pTabItem,  /* FROM clause item */  in codeCursorHint()  argument
1073 if( pTabItem->fg.jointype & JT_LEFT ){ in codeCursorHint()
1076 || pExpr->w.iJoin!=pTabItem->iCursor in codeCursorHint()
1332 SrcItem *pTabItem; /* FROM clause term being coded */ in sqlite3WhereCodeOneLoopStart() local
1344 pTabItem = &pWInfo->pTabList->a[pLevel->iFrom]; in sqlite3WhereCodeOneLoopStart()
1345 iCur = pTabItem->iCursor; in sqlite3WhereCodeOneLoopStart()
1348 VdbeModuleComment((v, "Begin WHERE-loop%d: %s",iLevel,pTabItem->pTab->zName)); in sqlite3WhereCodeOneLoopStart()
1383 || pLevel->iFrom>0 || (pTabItem[0].fg.jointype & JT_LEFT)==0 in sqlite3WhereCodeOneLoopStart()
1385 if( pLevel->iFrom>0 && (pTabItem[0].fg.jointype & JT_LEFT)!=0 ){ in sqlite3WhereCodeOneLoopStart()
1400 if( pTabItem->fg.viaCoroutine ){ in sqlite3WhereCodeOneLoopStart()
1401 int regYield = pTabItem->regReturn; in sqlite3WhereCodeOneLoopStart()
1402 sqlite3VdbeAddOp3(v, OP_InitCoroutine, regYield, 0, pTabItem->addrFillSub); in sqlite3WhereCodeOneLoopStart()
1405 VdbeComment((v, "next row of %s", pTabItem->pTab->zName)); in sqlite3WhereCodeOneLoopStart()
1581 codeCursorHint(pTabItem, pWInfo, pLevel, pEnd); in sqlite3WhereCodeOneLoopStart()
1824 codeCursorHint(pTabItem, pWInfo, pLevel, pRangeEnd); in sqlite3WhereCodeOneLoopStart()
2141 Table *pTab = pTabItem->pTab; in sqlite3WhereCodeOneLoopStart()
2164 memcpy(pOrTab->a, pTabItem, sizeof(*pTabItem)); in sqlite3WhereCodeOneLoopStart()
2265 testcase( (pTabItem[0].fg.jointype & JT_LEFT)!=0 in sqlite3WhereCodeOneLoopStart()
2424 if( pTabItem->fg.isRecursive ){ in sqlite3WhereCodeOneLoopStart()
2429 codeCursorHint(pTabItem, pWInfo, pLevel, 0); in sqlite3WhereCodeOneLoopStart()
2474 if( pTabItem->fg.jointype & (JT_LEFT|JT_LTORJ|JT_RIGHT) ){ in sqlite3WhereCodeOneLoopStart()
2479 }else if( (pTabItem->fg.jointype & JT_LEFT)==JT_LEFT in sqlite3WhereCodeOneLoopStart()
2548 if( pTabItem->fg.jointype & (JT_LEFT|JT_LTORJ|JT_RIGHT) ) continue; in sqlite3WhereCodeOneLoopStart()
2659 if( pTabItem->fg.jointype & JT_LTORJ ) continue; in sqlite3WhereCodeOneLoopStart()
2696 SrcItem *pTabItem = &pWInfo->pTabList->a[pLevel->iFrom]; in sqlite3WhereRightJoinLoop() local
2701 ExplainQueryPlan((pParse, 1, "RIGHT-JOIN %s", pTabItem->pTab->zName)); in sqlite3WhereRightJoinLoop()
2713 if( (pTabItem->fg.jointype & JT_LTORJ)==0 ){ in sqlite3WhereRightJoinLoop()
2730 memcpy(&sFrom.a[0], pTabItem, sizeof(SrcItem)); in sqlite3WhereRightJoinLoop()
2742 Table *pTab = pTabItem->pTab; in sqlite3WhereRightJoinLoop()