Home | History | Annotate | Download | only in orig

Lines Matching defs:aiColumn

10350 ** by the aiColumn[] field of this structure.  For example, suppose
10359 ** The value of aiColumn is {2, 0}. aiColumn[0]==2 because the
10362 ** Ex1.aCol[], hence Ex2.aiColumn[1]==0.
10373 int *aiColumn; /* Which columns are used by this index. 1st is 0 */
71412 if( pIdx->aiColumn[j]==iCol ){
75899 if( (pIdx->aiColumn[0]==iCol)
79885 sqlite3VdbeAddOp3(v, OP_Column, iTabCur, pIdx->aiColumn[0], regSample);
79886 sqlite3ColumnDefault(v, pTab, pIdx->aiColumn[0], regSample);
82437 if( pIdx->aiColumn[0]==i ){
83862 sizeof(int)*nCol + /* Index.aiColumn */
83876 pIndex->aiColumn = (int *)(&pIndex->azColl[nCol]);
83877 pIndex->aSortOrder = (u8 *)(&pIndex->aiColumn[nCol]);
83921 pIndex->aiColumn[i] = j;
83984 if( pIdx->aiColumn[k]!=pIndex->aiColumn[k] ) break;
86102 int idx = pIdx->aiColumn[j];
87990 int iCol = pIdx->aiColumn[i]; /* Index of column in parent tbl */
88141 int iParent = pIdx->aiColumn[i]+1+regData;
88143 if( pIdx->aiColumn[i]==pTab->iPKey ){
88255 iCol = pIdx->aiColumn[i];
88516 char *zCol = pTo->aCol[pIdx ? pIdx->aiColumn[i] : pTo->iPKey].zName;
88614 aiColumn[i]);
88750 tToCol.z = pIdx ? pTab->aCol[pIdx->aiColumn[i]].zName : "oid";
89038 pIdx->zColAff[n] = pTab->aCol[pIdx->aiColumn[n]].affinity;
90286 int idx = pIdx->aiColumn[i];
90338 char *zCol = pTab->aCol[pIdx->aiColumn[j]].zName;
90524 if( pSrc->aiColumn[i]!=pDest->aiColumn[i] ){
93016 int cnum = pIdx->aiColumn[i];
100692 if( aXRef[pIdx->aiColumn[i]]>=0 ){
103157 for(j=0; pIdx->aiColumn[j]!=iColumn; j++){
103980 && p->iColumn==pIdx->aiColumn[iCol]
104098 int iCol = pIdx->aiColumn[i];
104159 assert( pIdx->zName || (pIdx->nColumn==1 && pIdx->aiColumn[0]==-1) );
104188 iColumn = pIdx->aiColumn[i];
104601 nByte += nColumn*sizeof(int); /* Index.aiColumn */
104608 pIdx->aiColumn = (int*)&pIdx->azColl[nColumn];
104609 pIdx->aSortOrder = (u8*)&pIdx->aiColumn[nColumn];
104622 pIdx->aiColumn[n] = pTerm->u.leftColumn;
104635 pIdx->aiColumn[n] = i;
104642 pIdx->aiColumn[n] = i;
105234 u8 aff = p->pTable->aCol[p->aiColumn[0]].affinity;
105314 aff = p->pTable->aCol[p->aiColumn[0]].affinity;
105453 sPk.aiColumn = &aiColumnPk;
105561 int j = pProbe->aiColumn[nEq];
105602 int j = (nEq==pProbe->nColumn ? -1 : pProbe->aiColumn[nEq]);
105654 int x = pIdx->aiColumn[j];
106137 int k = pIdx->aiColumn[j];
106218 int *aiColumn = pIndex->aiColumn;
106228 explainAppendTerm(&txt, i, aCol[aiColumn[i]].zName, "=");
106233 char *z = (j==pIndex->nColumn ) ? "rowid" : aCol[aiColumn[j]].zName;
106237 char *z = (j==pIndex->nColumn ) ? "rowid" : aCol[aiColumn[j]].zName;
106595 k = (nEq==pIdx->nColumn ? -1 : pIdx->aiColumn[nEq]);
106610 /* assert( pOrderBy->a[0].pExpr->iColumn==pIdx->aiColumn[nEq] ); */
107766 if( pOp->p2==pIdx->aiColumn[j] ){