Lines Matching refs:iCol
3300 int iCol = -1; /* If >=0, step pCur->pStmt and use the i-th column */ in completionNext() local
3311 iCol = -1; in completionNext()
3319 iCol = 1; in completionNext()
3343 iCol = 0; in completionNext()
3369 iCol = 0; in completionNext()
3374 if( iCol<0 ){ in completionNext()
3380 pCur->zCurrentRow = (const char*)sqlite3_column_text(pCur->pStmt, iCol); in completionNext()
3381 pCur->szRow = sqlite3_column_bytes(pCur->pStmt, iCol); in completionNext()
6923 int iCol; /* Constrained table column */ member
7341 pNew->iCol = pCons->iColumn; in expertBestIndex()
7358 int iCol = pIdxInfo->aOrderBy[i].iColumn; in expertBestIndex() local
7359 if( iCol>=0 ){ in expertBestIndex()
7360 IdxConstraint *pNew = idxNewConstraint(&rc, p->pTab->aCol[iCol].zColl); in expertBestIndex()
7362 pNew->iCol = iCol; in expertBestIndex()
7686 IdxColumn *p = &pTab->aCol[pCons->iCol]; in idxAppendColDefn()
7746 int iCol = sqlite3_column_int(pInfo, 1); in idxFindCompatible() local
7752 if( pIter->iCol!=iCol ) continue; in idxFindCompatible()
7763 if( pT->iCol!=iCol || sqlite3_stricmp(pT->zColl, zColl) ){ in idxFindCompatible()
7848 if( p->iCol==pCmp->iCol ) return 1; in idxFindConstraint()
9069 int iCol = pIdx->aOrderBy[0].iColumn; in dbdataBestIndex() local
9071 pIdx->orderByConsumed = (iCol==0 || iCol==1); in dbdataBestIndex()
9072 }else if( pIdx->nOrderBy==2 && pIdx->aOrderBy[1].desc==0 && iCol==0 ){ in dbdataBestIndex()