Lines Matching refs:iColumn

5376 ** aConstraint[].iColumn.)^  ^(aConstraint[].usable is TRUE if the
5414 int iColumn; /* Column on left-hand side of constraint */
5421 int iColumn; /* Column number */
10171 ** pointer to this structure. The Expr.iColumn field is the index in
10191 int iColumn; /* Column number within the source table */
10256 ** Expr.iColumn is the column number for the specific column. If the
10265 ** If the expression is a subquery then Expr.iColumn holds an integer
10320 ynVar iColumn; /* TK_COLUMN: column index. -1 for rowid.
10854 int iColumn; /* Table column number */
71913 ** pExpr->iColumn Set to the column number within the table.
71999 pExpr->iColumn = j==pTab->iPKey ? -1 : (i16)j;
72071 pExpr->iColumn = (i16)iCol;
72084 pExpr->iColumn = -1; /* IMP: R-44911-55124 */
72170 if( pExpr->iColumn>=0 && pMatch!=0 ){
72171 int n = pExpr->iColumn;
72216 p->iColumn = -1;
72218 p->iColumn = (ynVar)iCol;
72274 pExpr->iColumn = -1;
72927 ** Expr.iColumn The column index in X.Y. -1 for the rowid.
73070 int j = pExpr->iColumn;
73126 int j = p->iColumn;
73577 pExpr->iColumn = (ynVar)(++pParse->nVar);
73586 pExpr->iColumn = x = (ynVar)i;
73607 pExpr->iColumn = x = (ynVar)i+1;
73611 if( x==0 ) x = pExpr->iColumn = (ynVar)(++pParse->nVar);
74333 return p->iColumn<0
74466 int iCol = pExpr->iColumn; /* Index of column <column> */
74544 if( pX->pLeft->iColumn<0 && !ExprHasAnyProperty(pX, EP_xIsSelect) ){
74748 ** of the memory cell in iColumn. If this is an EXISTS, write
74750 ** and record that memory cell in iColumn.
75035 if( p->iReg && p->iTable==iTab && p->iColumn==iCol ){
75043 assert( p->iReg==0 || p->iTable!=iTab || p->iColumn!=iCol );
75052 p->iColumn = iCol;
75073 p->iColumn = iCol;
75164 ** Generate code that will extract the iColumn-th column from
75170 ** is called. If iColumn<0 then code is generated that extracts the rowid.
75175 int iColumn, /* Index of the table column */
75184 if( p->iReg>0 && p->iTable==iTable && p->iColumn==iColumn ){
75191 sqlite3ExprCodeGetColumnOfTable(v, pTab, iTable, iColumn, iReg);
75192 sqlite3ExprCacheStore(pParse, iTable, iColumn, iReg);
75317 inReg = pExpr->iColumn + pParse->ckBase;
75320 pExpr->iColumn, pExpr->iTable, target);
75364 sqlite3VdbeAddOp2(v, OP_Variable, pExpr->iColumn, target);
75367 || strcmp(pExpr->u.zToken, pParse->azVar[pExpr->iColumn-1])==0 );
75368 sqlite3VdbeChangeP4(v, -1, pParse->azVar[pExpr->iColumn-1], P4_STATIC);
75708 ** new.* pseudo-table, or 0 for the old.* pseudo-table. Expr.iColumn
75731 int p1 = pExpr->iTable * (pTab->nCol+1) + 1 + pExpr->iColumn;
75734 assert( pExpr->iColumn>=-1 && pExpr->iColumn<pTab->nCol );
75735 assert( pTab->iPKey<0 || pExpr->iColumn!=pTab->iPKey );
75741 (pExpr->iColumn<0 ? "rowid" : pExpr->pTab->aCol[pExpr->iColumn].zName),
75748 if( pExpr->iColumn>=0
75749 && pTab->aCol[pExpr->iColumn].affinity==SQLITE_AFF_REAL
76469 if( pA->iTable!=pB->iTable || pA->iColumn!=pB->iColumn ) return 2;
76582 pCol->iColumn==pExpr->iColumn ){
76592 pCol->iColumn = pExpr->iColumn;
76604 pE->iColumn==pExpr->iColumn ){
79052 iCol = pExpr->iColumn;
86207 pRight->iColumn = -1;
93369 int iCol = pExpr->iColumn; /* Index of column in pTab */
93546 int iCol = p->iColumn;
93623 int iCol = pColExpr->iColumn;
94850 ** a column in table number iTable with a copy of the iColumn-th
94869 if( pExpr->iColumn<0 ){
94873 assert( pEList!=0 && pExpr->iColumn<pEList->nExpr );
94875 pNew = sqlite3ExprDup(db, pEList->a[pExpr->iColumn].pExpr, 0);
96552 pCol->pTab, pCol->iColumn, pCol->iTable, r1);
100916 ** where X is a reference to the iColumn of table iCur and <op> is one of
100923 int iColumn, /* Column number of LHS */
100935 && pTerm->u.leftColumn==iColumn
100945 idxaff = pIdx->pTable->aCol[iColumn].affinity;
100956 for(j=0; pIdx->aiColumn[j]!=iColumn; j++){
101024 assert( pLeft->iColumn!=(-1) ); /* Because IPK never has AFF_TEXT */
101033 int iCol = pRight->iColumn;
101056 sqlite3VdbeSetVarmask(v, pRight->iColumn); /* IMP: R-23257-02778 */
101315 int iColumn = -1; /* Column index on lhs of IN operator */
101321 ** will be recorded in iCursor and iColumn. There might not be any
101346 iColumn = pOrTerm->u.leftColumn;
101367 }else if( pOrTerm->u.leftColumn!=iColumn ){
101402 assert( pOrTerm->u.leftColumn==iColumn );
101503 pTerm->u.leftColumn = pLeft->iColumn;
101530 pNew->u.leftColumn = pLeft->iColumn;
101677 pNewTerm->u.leftColumn = pLeft->iColumn;
101701 && pExpr->pLeft->iColumn>=0
101718 pNewTerm->u.leftColumn = pLeft->iColumn;
101777 && p->iColumn==pIdx->aiColumn[iCol]
101828 pTerm = findTerm(pWC, p->iTable, p->iColumn, ~(Bitmask)0, WO_EQ, 0);
101879 if( p->op==TK_COLUMN && p->iTable==iBase && p->iColumn<0 ) return 1;
101970 int iColumn; /* The i-th column of the index. -1 for rowid */
101985 iColumn = pIdx->aiColumn[i];
101986 if( iColumn==pIdx->pTable->iPKey ){
101987 iColumn = -1;
101992 iColumn = -1;
101996 if( pExpr->iColumn!=iColumn || sqlite3StrICmp(pColl->zName, zColl) ){
102013 assert( pIdx->aSortOrder!=0 || iColumn==-1 );
102028 if( iColumn<0 && !referencesOtherTables(pOrderBy, pMaskSet, j, base) ){
102089 p->aConstraint[i].iColumn,
102097 p->aOrderBy[i].iColumn,
102549 pIdxCons[j].iColumn = pTerm->u.leftColumn;
102566 pIdxOrderBy[i].iColumn = pExpr->iColumn;
102914 int iVar = pExpr->iColumn;
104397 /* assert( pOrderBy->a[0].pExpr->iColumn==pIdx->aiColumn[nEq] ); */
114328 int iColumn; /* Index of column this phrase must match */
115453 && (pCons->iColumn<0 || pCons->iColumn==p->nColumn+1 )
115470 && pCons->iColumn>=0 && pCons->iColumn<=p->nColumn
115472 pInfo->idxNum = FTS3_FULLTEXT_SEARCH + pCons->iColumn;
115489 if( pOrder->iColumn<0 || pOrder->iColumn==p->nColumn+1 ){
116751 int iColumn, /* Column to query (or -ve for all columns) */
116765 | (iColumn<p->nColumn ? FTS3_SEGMENT_COLUMN_FILTER : 0);
116766 filter.iCol = iColumn;
117638 rc = fts3TermSelect(pTab, pToken, p->iColumn, &nThis, &pThis);
117778 int iCol = (p->iColumn >= pTab->nColumn ? -1 : p->iColumn);
118015 pTC->iCol = pPhrase->iColumn;
119004 || (pPhrase->iColumn<pTab->nColumn && pPhrase->iColumn!=iCol)
119209 && pInfo->aOrderBy[0].iColumn==0
119217 if( pInfo->aConstraint[i].usable && pInfo->aConstraint[i].iColumn==0 ){
119682 int iCol, /* Value for Fts3Phrase.iColumn */
119712 pRet->pPhrase->iColumn = iCol;
119839 p->pPhrase->iColumn = pParse->iDefaultCol;
120368 "%zPHRASE %d 0", zBuf, pPhrase->iColumn);
128396 if( p->usable && p->iColumn==0 && p->op==SQLITE_INDEX_CONSTRAINT_EQ ){
128416 if( p->usable && (p->iColumn>0 || p->op==SQLITE_INDEX_CONSTRAINT_MATCH) ){
128430 zIdxStr[iIdx++] = p->iColumn - 1 + 'a';