Home
last modified time | relevance | path

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

/freebsd/contrib/sqlite3/
H A Dshell.c8545 const struct sqlite3_index_constraint *pConstraint; in seriesBestIndex() local
8553 pConstraint = pIdxInfo->aConstraint; in seriesBestIndex()
8554 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){ in seriesBestIndex()
8557 int op = pConstraint->op; in seriesBestIndex()
8561 if( pConstraint->usable==0 ){ in seriesBestIndex()
8573 if( pConstraint->iColumn<SERIES_COLUMN_START ){ in seriesBestIndex()
8574 if( (pConstraint->iColumn==SERIES_COLUMN_VALUE || in seriesBestIndex()
8575 pConstraint->iColumn==SERIES_COLUMN_ROWID) in seriesBestIndex()
8576 && pConstraint->usable in seriesBestIndex()
8628 iCol = pConstraint->iColumn - SERIES_COLUMN_START; in seriesBestIndex()
[all …]
H A Dsqlite3.c147460 const struct sqlite3_index_constraint *pConstraint; local
147466 pConstraint = pIdxInfo->aConstraint;
147469 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){
147470 if( pConstraint->iColumn < pTab->iHidden ) continue;
147471 if( pConstraint->op!=SQLITE_INDEX_CONSTRAINT_EQ ) continue;
147472 if( pConstraint->usable==0 ) return SQLITE_CONSTRAINT;
147473 j = pConstraint->iColumn - pTab->iHidden;
217820 const struct sqlite3_index_constraint *pConstraint; local
217827 pConstraint = pIdxInfo->aConstraint;
217828 for(i=0; i<pIdxInfo->nConstraint; i++, pConstraint++){
[all …]