Lines Matching refs:nEq
10498 u32 nEq; /* Number of == constraints */ member
100183 pLevel->plan.nEq = nColumn;
100235 assert( (u32)n==pLevel->plan.nEq );
100575 pCost->plan.nEq = 0;
100777 int nEq, /* index into p->aCol[] of the range-compared column */
100786 if( nEq==0 && p->aSample ){
100843 UNUSED_PARAMETER(nEq);
101159 int nEq; /* Number of == or IN terms matching index */
101172 for(nEq=0; nEq<pProbe->nColumn; nEq++){
101173 int j = pProbe->aiColumn[nEq];
101192 if( nEq==0 && pProbe->aSample ) pFirstTerm = pTerm;
101198 if( nEq<pProbe->nColumn && pProbe->bUnordered==0 ){
101199 int j = pProbe->aiColumn[nEq];
101203 whereRangeScanEst(pParse, pProbe, nEq, pBtm, pTop, &estBound);
101232 nEq, wsFlags, &rev)
101266 nRow = (double)(aiRowEst[nEq] * nInMul);
101269 nInMul = (int)(nRow / aiRowEst[nEq]);
101278 if( nRow>(double)1 && nEq==1 && pFirstTerm!=0 ){
101376 int nSkipEq = nEq; /* Number of == constraints to skip */
101421 nEq, nInMul, estBound, bSort, bLookup, wsFlags,
101435 pCost->plan.nEq = nEq;
101697 int nEq = pLevel->plan.nEq; /* The number of == or IN constraints to code */
101714 nReg = pLevel->plan.nEq + nExtraReg;
101724 assert( pIdx->nColumn>=nEq );
101725 for(j=0; j<nEq; j++){
101805 int nEq = pPlan->nEq;
101811 if( nEq==0 && (pPlan->wsFlags & (WHERE_BTM_LIMIT|WHERE_TOP_LIMIT))==0 ){
101817 for(i=0; i<nEq; i++){
101858 isSearch = (pLevel->plan.nEq>0)
102164 int nEq = pLevel->plan.nEq; /* Number of == or IN terms */
102183 k = pIdx->aiColumn[nEq]; /* Column for inequality constraints */
102195 && (pIdx->nColumn>nEq)
102229 if( nEq<pIdx->nColumn && bRev==(pIdx->aSortOrder[nEq]==SQLITE_SO_ASC) ){
102239 start_constraints = pRangeStart || nEq>0;
102242 nConstraint = nEq;
102245 sqlite3ExprCode(pParse, pRight, regBase+nEq);
102247 sqlite3ExprCodeIsNullJump(v, pRight, regBase+nEq, addrNxt);
102250 if( sqlite3CompareAffinity(pRight, zStartAff[nEq])==SQLITE_AFF_NONE){
102254 zStartAff[nEq] = SQLITE_AFF_NONE;
102256 if( sqlite3ExprNeedsNoAffinityChange(pRight, zStartAff[nEq]) ){
102257 zStartAff[nEq] = SQLITE_AFF_NONE;
102263 sqlite3VdbeAddOp2(v, OP_Null, 0, regBase+nEq);
102282 nConstraint = nEq;
102285 sqlite3ExprCacheRemove(pParse, regBase+nEq, 1);
102286 sqlite3ExprCode(pParse, pRight, regBase+nEq);
102288 sqlite3ExprCodeIsNullJump(v, pRight, regBase+nEq, addrNxt);
102291 if( sqlite3CompareAffinity(pRight, zEndAff[nEq])==SQLITE_AFF_NONE){
102295 zEndAff[nEq] = SQLITE_AFF_NONE;
102297 if( sqlite3ExprNeedsNoAffinityChange(pRight, zEndAff[nEq]) ){
102298 zEndAff[nEq] = SQLITE_AFF_NONE;
102301 codeApplyAffinity(pParse, regBase, nEq+1, zEndAff);
102312 op = aEndOp[(pRangeEnd || nEq) * (1 + bRev)];
102329 sqlite3VdbeAddOp3(v, OP_Column, iIdxCur, nEq, r1);