Lines Matching refs:iCol
209 int iCol; /* Index of column matching zCol */
213 iCol = columnIndex(pSrc->a[i].pTab, zCol);
214 if( iCol>=0 ){
217 *piCol = iCol;
999 int iCol = pExpr->iColumn; /* Index of column in pTab */
1040 if( iCol>=0 && ALWAYS(iCol<pS->pEList->nExpr) ){
1041 /* If iCol is less than zero, then the expression requests the
1046 Expr *p = pS->pEList->a[iCol].pExpr;
1055 if( iCol<0 ) iCol = pTab->iPKey;
1056 assert( iCol==-1 || (iCol>=0 && iCol<pTab->nCol) );
1057 if( iCol<0 ){
1061 zType = pTab->aCol[iCol].zType;
1062 zOriginCol = pTab->aCol[iCol].zName;
1176 int iCol = p->iColumn;
1182 if( iCol<0 ) iCol = pTab->iPKey;
1183 assert( iCol==-1 || (iCol>=0 && iCol<pTab->nCol) );
1184 if( iCol<0 ){
1187 zCol = pTab->aCol[iCol].zName;
1253 int iCol = pColExpr->iColumn;
1255 if( iCol<0 ) iCol = pTab->iPKey;
1257 iCol>=0 ? pTab->aCol[iCol].zName : "rowid");
1469 ** Return the appropriate collating sequence for the iCol-th column of
1476 static CollSeq *multiSelectCollSeq(Parse *pParse, Select *p, int iCol){
1479 pRet = multiSelectCollSeq(pParse, p->pPrior, iCol);
1483 assert( iCol>=0 );
1484 if( pRet==0 && iCol<p->pEList->nExpr ){
1485 pRet = sqlite3ExprCollSeq(pParse, p->pEList->a[iCol].pExpr);
2194 assert( pItem->iCol>0 );
2195 if( pItem->iCol==i ) break;
2203 pOrderBy->a[nOrderBy++].iCol = (u16)i;
2219 assert( pItem->iCol>0 && pItem->iCol<=p->pEList->nExpr );
2220 aPermute[i] = pItem->iCol - 1;
2797 if( p->pOrderBy->a[ii].iCol==0 ) return 0;