Home
last modified time | relevance | path

Searched refs:pConstraint (Results 1 – 2 of 2) sorted by relevance

/src/contrib/sqlite3/
H A Dshell.c6835 const struct sqlite3_index_constraint *pConstraint; in seriesBestIndex() local
6843 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 …]
H A Dsqlite3.c143530 const struct sqlite3_index_constraint *pConstraint;
143536 pConstraint = pIdxInfo->aConstraint;
143539 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){
143540 if( pConstraint->iColumn < pTab->iHidden ) continue;
143541 if( pConstraint->op!=SQLITE_INDEX_CONSTRAINT_EQ ) continue;
143542 if( pConstraint->usable==0 ) return SQLITE_CONSTRAINT;
143543 j = pConstraint->iColumn - pTab->iHidden;
213153 const struct sqlite3_index_constraint *pConstraint;
213160 pConstraint = pIdxInfo->aConstraint;
213161 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){
[all …]