Searched refs:pCons (Results 1 – 2 of 2) sorted by relevance
10627 const struct sqlite3_index_constraint *pCons = &pIdxInfo->aConstraint[i]; in zipfileBestIndex() local10628 if( pCons->iColumn!=ZIPFILE_F_COLUMN_IDX ) continue; in zipfileBestIndex()10629 if( pCons->usable==0 ){ in zipfileBestIndex()10631 }else if( pCons->op==SQLITE_INDEX_CONSTRAINT_EQ ){ in zipfileBestIndex()12312 struct sqlite3_index_constraint *pCons = &pIdxInfo->aConstraint[i]; in expertBestIndex() local12313 if( pCons->usable in expertBestIndex()12314 && pCons->iColumn>=0 in expertBestIndex()12315 && p->pTab->aCol[pCons->iColumn].iPk==0 in expertBestIndex()12316 && (pCons->op & opmask) in expertBestIndex()12322 pNew->iCol = pCons->iColumn; in expertBestIndex()[all …]
123244 Token *pCons, /* The ',' token after the last column defn. */123582 assert( pCons && pEnd );123583 if( pCons->z==0 ){123584 pCons = pEnd;123586 p->u.tab.addColOffset = 13 + (int)(pCons->z - pParse->sNameToken.z);186168 struct sqlite3_index_constraint *pCons = &pInfo->aConstraint[i];186169 if( pCons->usable==0 ){186170 if( pCons->op==SQLITE_INDEX_CONSTRAINT_MATCH ){186184 bDocid = (pCons->iColumn<0 || pCons->iColumn==p->nColumn+1);186187 if( iCons<0 && pCons->op==SQLITE_INDEX_CONSTRAINT_EQ && bDocid ){[all …]