Searched refs:pCons (Results 1 – 2 of 2) sorted by relevance
10705 const struct sqlite3_index_constraint *pCons = &pIdxInfo->aConstraint[i]; in zipfileBestIndex() local10706 if( pCons->iColumn!=ZIPFILE_F_COLUMN_IDX ) continue; in zipfileBestIndex()10707 if( pCons->usable==0 ){ in zipfileBestIndex()10709 }else if( pCons->op==SQLITE_INDEX_CONSTRAINT_EQ ){ in zipfileBestIndex()12391 struct sqlite3_index_constraint *pCons = &pIdxInfo->aConstraint[i]; in expertBestIndex() local12392 if( pCons->usable in expertBestIndex()12393 && pCons->iColumn>=0 in expertBestIndex()12394 && p->pTab->aCol[pCons->iColumn].iPk==0 in expertBestIndex()12395 && (pCons->op & opmask) in expertBestIndex()12401 pNew->iCol = pCons->iColumn; in expertBestIndex()[all …]
123994 Token *pCons, /* The ',' token after the last column defn. */124329 assert( pCons && pEnd );124330 if( pCons->z==0 ){124331 pCons = pEnd;124333 p->u.tab.addColOffset = 13 + (int)(pCons->z - pParse->sNameToken.z);187784 struct sqlite3_index_constraint *pCons = &pInfo->aConstraint[i];187785 if( pCons->usable==0 ){187786 if( pCons->op==SQLITE_INDEX_CONSTRAINT_MATCH ){187800 bDocid = (pCons->iColumn<0 || pCons->iColumn==p->nColumn+1);187803 if( iCons<0 && pCons->op==SQLITE_INDEX_CONSTRAINT_EQ && bDocid ){[all …]