Lines Matching refs:pConstraint
2782 const struct sqlite3_index_constraint *pConstraint; in fsdirBestIndex() local
2785 pConstraint = pIdxInfo->aConstraint; in fsdirBestIndex()
2786 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){ in fsdirBestIndex()
2787 if( pConstraint->usable==0 ) continue; in fsdirBestIndex()
2788 if( pConstraint->op!=SQLITE_INDEX_CONSTRAINT_EQ ) continue; in fsdirBestIndex()
2789 if( pConstraint->iColumn==4 ) idx4 = i; in fsdirBestIndex()
2790 if( pConstraint->iColumn==5 ) idx5 = i; in fsdirBestIndex()
3313 const struct sqlite3_index_constraint *pConstraint; in completionBestIndex() local
3316 pConstraint = pIdxInfo->aConstraint; in completionBestIndex()
3317 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){ in completionBestIndex()
3318 if( pConstraint->usable==0 ) continue; in completionBestIndex()
3319 if( pConstraint->op!=SQLITE_INDEX_CONSTRAINT_EQ ) continue; in completionBestIndex()
3320 switch( pConstraint->iColumn ){ in completionBestIndex()
6968 static void idxConstraintFree(IdxConstraint *pConstraint){ in idxConstraintFree() argument
6972 for(p=pConstraint; p; p=pNext){ in idxConstraintFree()