Home
last modified time | relevance | path

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

/freebsd/contrib/sqlite3/
H A Dshell.c8576 const struct sqlite3_index_constraint *pConstraint; in seriesBestIndex() local
8584 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 …]
H A Dsqlite3.c147681 const struct sqlite3_index_constraint *pConstraint; local
147687 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; local
218199 pConstraint = pIdxInfo->aConstraint;
218200 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){
[all …]