Searched refs:pConstraint (Results 1 – 2 of 2) sorted by relevance
8576 const struct sqlite3_index_constraint *pConstraint; in seriesBestIndex() local8584 pConstraint = pIdxInfo->aConstraint; in seriesBestIndex()8585 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){ in seriesBestIndex()8588 int op = pConstraint->op; in seriesBestIndex()8592 if( pConstraint->usable==0 ){ in seriesBestIndex()8604 if( pConstraint->iColumn<SERIES_COLUMN_START ){ in seriesBestIndex()8605 if( (pConstraint->iColumn==SERIES_COLUMN_VALUE || in seriesBestIndex()8606 pConstraint->iColumn==SERIES_COLUMN_ROWID) in seriesBestIndex()8607 && pConstraint->usable in seriesBestIndex()8659 iCol = pConstraint->iColumn - SERIES_COLUMN_START; in seriesBestIndex()[all …]
147681 const struct sqlite3_index_constraint *pConstraint; local147687 pConstraint = pIdxInfo->aConstraint;147690 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){147691 if( pConstraint->iColumn < pTab->iHidden ) continue;147692 if( pConstraint->op!=SQLITE_INDEX_CONSTRAINT_EQ ) continue;147693 if( pConstraint->usable==0 ) return SQLITE_CONSTRAINT;147694 j = pConstraint->iColumn - pTab->iHidden;218192 const struct sqlite3_index_constraint *pConstraint; local218199 pConstraint = pIdxInfo->aConstraint;218200 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){[all …]