Lines Matching refs:nLoop
152276 int nLoop = 0;
152282 if( nLoop && (pTerm->wtFlags & TERM_LIKE)!=0 ){
152298 nLoop++;
160909 u16 nLoop, /* Number of entries in pPath->aLoop[] */
160961 if( nLoop && OptimizationDisabled(db, SQLITE_OrderByIdxJoin) ) return 0;
160974 for(iLoop=0; isOrderDistinct && obSat<obDone && iLoop<=nLoop; iLoop++){
160976 if( iLoop<nLoop ){
161261 static const char *wherePathName(WherePath *pPath, int nLoop, WhereLoop *pLast){
161264 for(i=0; i<nLoop; i++){ zName[i] = pPath->aLoop[i]->cId; }
161331 int nLoop; /* Number of terms in the join */
161351 nLoop = pWInfo->nLevel;
161355 mxChoice = (nLoop<=1) ? 1 : (nLoop==2 ? 5 : 10);
161356 assert( nLoop<=pWInfo->pTabList->nSrc );
161371 nSpace = (sizeof(WherePath)+sizeof(WhereLoop*)*nLoop)*mxChoice*2;
161379 for(ii=mxChoice*2, pFrom=aTo; ii>0; ii--, pFrom++, pX += nLoop){
161404 /* If nLoop is zero, then there are no FROM terms in the query. Since
161407 ** indicate this. Or, if nLoop is greater than zero, set isOrdered to
161410 aFrom[0].isOrdered = nLoop>0 ? -1 : nOrderBy;
161416 for(iLoop=0; iLoop<nLoop; iLoop++){
161640 assert( pWInfo->nLevel==nLoop );
161642 for(iLoop=0; iLoop<nLoop; iLoop++){
161655 WHERE_DISTINCTBY, nLoop-1, pFrom->aLoop[nLoop-1], ¬Used);
161671 if( nLoop>0 ){
161672 u32 wsFlags = pFrom->aLoop[nLoop-1]->wsFlags;
161678 WHERE_ORDERBY_LIMIT, nLoop-1, pFrom->aLoop[nLoop-1], &m);
161687 }else if( nLoop
161695 && pWInfo->nOBSat==pWInfo->pOrderBy->nExpr && nLoop>0
161699 pFrom, 0, nLoop-1, pFrom->aLoop[nLoop-1], &revMask