Lines Matching refs:pColl

355               CollSeq *pColl;  in whereScanNext()  local
362 pColl = sqlite3ExprCompareCollSeq(pParse, pX); in whereScanNext()
363 if( pColl==0 ) pColl = pParse->db->pDfltColl; in whereScanNext()
364 if( sqlite3StrICmp(pColl->zName, pScan->zCollName) ){ in whereScanNext()
551 CollSeq *pColl = sqlite3ExprNNCollSeq(pParse, pList->a[i].pExpr); in findIndexCol() local
552 if( 0==sqlite3StrICmp(pColl->zName, zColl) ){ in findIndexCol()
839 CollSeq *pColl; /* Collating sequence to on a column */ in constructAutomaticIndex() local
943 pColl = sqlite3ExprCompareCollSeq(pParse, pX); in constructAutomaticIndex()
944 assert( pColl!=0 || pParse->nErr>0 ); /* TH3 collate01.800 */ in constructAutomaticIndex()
945 pIdx->azColl[n] = pColl ? pColl->zName : sqlite3StrBINARY; in constructAutomaticIndex()
1703 CollSeq *pColl; in whereRangeSkipScanEst() local
1709 pColl = sqlite3LocateCollSeq(pParse, p->azColl[nEq]); in whereRangeSkipScanEst()
1725 int res = sqlite3MemCompare(p1, pVal, pColl); in whereRangeSkipScanEst()
1729 int res = sqlite3MemCompare(p2, pVal, pColl); in whereRangeSkipScanEst()
2726 CollSeq *pColl; /* Comparison collation sequence */ in whereRangeVectorLen() local
2755 pColl = sqlite3BinaryCompareCollSeq(pParse, pLhs, pRhs); in whereRangeVectorLen()
2756 if( pColl==0 ) break; in whereRangeVectorLen()
2757 if( sqlite3StrICmp(pColl->zName, pIdx->azColl[i+nEq]) ) break; in whereRangeVectorLen()
4380 CollSeq *pColl; /* COLLATE function from an ORDER BY clause term */ in wherePathSatisfiesOrderBy() local
4600 pColl = sqlite3ExprNNCollSeq(pWInfo->pParse, pOrderBy->a[i].pExpr); in wherePathSatisfiesOrderBy()
4601 if( sqlite3StrICmp(pColl->zName, pIndex->azColl[j])!=0 ) continue; in wherePathSatisfiesOrderBy()