Lines Matching refs:iCol
3305 int iCol = -1; /* If >=0, step pCur->pStmt and use the i-th column */ in completionNext() local
3316 iCol = -1; in completionNext()
3324 iCol = 1; in completionNext()
3348 iCol = 0; in completionNext()
3374 iCol = 0; in completionNext()
3379 if( iCol<0 ){ in completionNext()
3385 pCur->zCurrentRow = (const char*)sqlite3_column_text(pCur->pStmt, iCol); in completionNext()
3386 pCur->szRow = sqlite3_column_bytes(pCur->pStmt, iCol); in completionNext()
6928 int iCol; /* Constrained table column */ member
7346 pNew->iCol = pCons->iColumn; in expertBestIndex()
7363 int iCol = pIdxInfo->aOrderBy[i].iColumn; in expertBestIndex() local
7364 if( iCol>=0 ){ in expertBestIndex()
7365 IdxConstraint *pNew = idxNewConstraint(&rc, p->pTab->aCol[iCol].zColl); in expertBestIndex()
7367 pNew->iCol = iCol; in expertBestIndex()
7691 IdxColumn *p = &pTab->aCol[pCons->iCol]; in idxAppendColDefn()
7751 int iCol = sqlite3_column_int(pInfo, 1); in idxFindCompatible() local
7757 if( pIter->iCol!=iCol ) continue; in idxFindCompatible()
7768 if( pT->iCol!=iCol || sqlite3_stricmp(pT->zColl, zColl) ){ in idxFindCompatible()
7853 if( p->iCol==pCmp->iCol ) return 1; in idxFindConstraint()
9074 int iCol = pIdx->aOrderBy[0].iColumn; in dbdataBestIndex() local
9076 pIdx->orderByConsumed = (iCol==0 || iCol==1); in dbdataBestIndex()
9077 }else if( pIdx->nOrderBy==2 && pIdx->aOrderBy[1].desc==0 && iCol==0 ){ in dbdataBestIndex()