Searched refs:pConstraint (Results 1 – 2 of 2) sorted by relevance
6835 const struct sqlite3_index_constraint *pConstraint; in seriesBestIndex() local6843 pConstraint = pIdxInfo->aConstraint; in seriesBestIndex()6844 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){ in seriesBestIndex()6847 int op = pConstraint->op; in seriesBestIndex()6851 if( pConstraint->usable==0 ){ in seriesBestIndex()6863 if( pConstraint->iColumn<SERIES_COLUMN_START ){ in seriesBestIndex()6864 if( (pConstraint->iColumn==SERIES_COLUMN_VALUE || in seriesBestIndex()6865 pConstraint->iColumn==SERIES_COLUMN_ROWID) in seriesBestIndex()6866 && pConstraint->usable in seriesBestIndex()6918 iCol = pConstraint->iColumn - SERIES_COLUMN_START; in seriesBestIndex()[all …]
143505 const struct sqlite3_index_constraint *pConstraint;143511 pConstraint = pIdxInfo->aConstraint;143514 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){143515 if( pConstraint->iColumn < pTab->iHidden ) continue;143516 if( pConstraint->op!=SQLITE_INDEX_CONSTRAINT_EQ ) continue;143517 if( pConstraint->usable==0 ) return SQLITE_CONSTRAINT;143518 j = pConstraint->iColumn - pTab->iHidden;213112 const struct sqlite3_index_constraint *pConstraint;213119 pConstraint = pIdxInfo->aConstraint;213120 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){[all …]