Lines Matching refs:iLoop
4373 int iLoop; /* Index of WhereLoop in pPath being processed */ in wherePathSatisfiesOrderBy() local
4424 for(iLoop=0; isOrderDistinct && obSat<obDone && iLoop<=nLoop; iLoop++){ in wherePathSatisfiesOrderBy()
4425 if( iLoop>0 ) ready |= pLoop->maskSelf; in wherePathSatisfiesOrderBy()
4426 if( iLoop<nLoop ){ in wherePathSatisfiesOrderBy()
4427 pLoop = pPath->aLoop[iLoop]; in wherePathSatisfiesOrderBy()
4620 if( rev ) *pRevMask |= MASKBIT(iLoop); in wherePathSatisfiesOrderBy()
4783 int iLoop; /* Loop counter over the terms of the join */ in wherePathSolver() local
4866 for(iLoop=0; iLoop<nLoop; iLoop++){ in wherePathSolver()
4899 iLoop, pWLoop, &revMask); in wherePathSolver()
4926 if( iLoop==0 && (pWLoop->wsFlags & WHERE_VIEWSCAN)!=0 ){ in wherePathSolver()
4961 wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted, in wherePathSolver()
4980 wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted, in wherePathSolver()
5004 wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted, in wherePathSolver()
5007 wherePathName(pTo, iLoop+1, 0), pTo->rCost, pTo->nRow, in wherePathSolver()
5022 wherePathName(pFrom, iLoop, pWLoop), rCost, nOut, rUnsorted, in wherePathSolver()
5025 wherePathName(pTo, iLoop+1, 0), pTo->rCost, pTo->nRow, in wherePathSolver()
5037 memcpy(pTo->aLoop, pFrom->aLoop, sizeof(WhereLoop*)*iLoop); in wherePathSolver()
5038 pTo->aLoop[iLoop] = pWLoop; in wherePathSolver()
5058 sqlite3DebugPrintf("---- after round %d ----\n", iLoop); in wherePathSolver()
5061 wherePathName(pTo, iLoop+1, 0), pTo->rCost, pTo->nRow, in wherePathSolver()
5092 for(iLoop=0; iLoop<nLoop; iLoop++){ in wherePathSolver()
5093 WhereLevel *pLevel = pWInfo->a + iLoop; in wherePathSolver()
5094 pLevel->pWLoop = pWLoop = pFrom->aLoop[iLoop]; in wherePathSolver()