Lines Matching refs:iColumn
5789 ** aConstraint[].iColumn.)^ ^(aConstraint[].usable is TRUE if the
5827 int iColumn; /* Column on left-hand side of constraint */
5834 int iColumn; /* Column number */
10761 ** pointer to this structure. The Expr.iColumn field is the index in
10781 int iColumn; /* Column number within the source table */
10844 ** Expr.iColumn is the column number for the specific column. If the
10853 ** If the expression is a subquery then Expr.iColumn holds an integer
10910 ynVar iColumn; /* TK_COLUMN: column index. -1 for rowid.
11469 int iColumn; /* Table column number */
74083 ** pExpr->iColumn Set to the column number within the table.
74161 pExpr->iColumn = j;
74193 pExpr->iColumn = j==pTab->iPKey ? -1 : (i16)j;
74250 pExpr->iColumn = (i16)iCol;
74263 pExpr->iColumn = -1; /* IMP: R-44911-55124 */
74353 if( pExpr->iColumn>=0 && pMatch!=0 ){
74354 int n = pExpr->iColumn;
74401 p->iColumn = -1;
74403 p->iColumn = (ynVar)iCol;
74459 pExpr->iColumn = -1;
75128 ** Expr.iColumn The column index in X.Y. -1 for the rowid.
75275 int j = pExpr->iColumn;
75351 int j = p->iColumn;
75830 pExpr->iColumn = (ynVar)(++pParse->nVar);
75839 pExpr->iColumn = x = (ynVar)i;
75860 pExpr->iColumn = x = (ynVar)i+1;
75864 if( x==0 ) x = pExpr->iColumn = (ynVar)(++pParse->nVar);
76593 return p->iColumn<0
76756 iCol = pExpr->iColumn;
76831 if( pX->pLeft->iColumn<0 && !ExprHasAnyProperty(pX, EP_xIsSelect) ){
77037 ** of the memory cell in iColumn. If this is an EXISTS, write
77039 ** and record that memory cell in iColumn.
77323 assert( p->iReg==0 || p->iTable!=iTab || p->iColumn!=iCol );
77332 p->iColumn = iCol;
77353 p->iColumn = iCol;
77444 ** Generate code that will extract the iColumn-th column from
77450 ** is called. If iColumn<0 then code is generated that extracts the rowid.
77455 int iColumn, /* Index of the table column */
77465 if( p->iReg>0 && p->iTable==iTable && p->iColumn==iColumn ){
77472 sqlite3ExprCodeGetColumnOfTable(v, pTab, iTable, iColumn, iReg);
77476 sqlite3ExprCacheStore(pParse, iTable, iColumn, iReg);
77590 inReg = pExpr->iColumn + pParse->ckBase;
77593 pExpr->iColumn, pExpr->iTable, target,
77638 sqlite3VdbeAddOp2(v, OP_Variable, pExpr->iColumn, target);
77641 || strcmp(pExpr->u.zToken, pParse->azVar[pExpr->iColumn-1])==0 );
77642 sqlite3VdbeChangeP4(v, -1, pParse->azVar[pExpr->iColumn-1], P4_STATIC);
78002 ** new.* pseudo-table, or 0 for the old.* pseudo-table. Expr.iColumn
78025 int p1 = pExpr->iTable * (pTab->nCol+1) + 1 + pExpr->iColumn;
78028 assert( pExpr->iColumn>=-1 && pExpr->iColumn<pTab->nCol );
78029 assert( pTab->iPKey<0 || pExpr->iColumn!=pTab->iPKey );
78035 (pExpr->iColumn<0 ? "rowid" : pExpr->pTab->aCol[pExpr->iColumn].zName),
78042 if( pExpr->iColumn>=0
78043 && pTab->aCol[pExpr->iColumn].affinity==SQLITE_AFF_REAL
78264 pExpr->iTable, pExpr->iColumn);
78270 sqlite3ExplainPrintf(pOut, "COLUMN(%d)", pExpr->iColumn);
78273 pExpr->iTable, pExpr->iColumn);
78307 pExpr->u.zToken, pExpr->iColumn);
78445 ** new.* pseudo-table, or 0 for the old.* pseudo-table. Expr.iColumn
78450 pExpr->iTable ? "NEW" : "OLD", pExpr->iColumn);
79050 if( pA->iTable!=pB->iTable || pA->iColumn!=pB->iColumn ) return 2;
79214 pCol->iColumn==pExpr->iColumn ){
79224 pCol->iColumn = pExpr->iColumn;
79236 pE->iColumn==pExpr->iColumn ){
82097 iCol = pExpr->iColumn;
89430 pRight->iColumn = -1;
97159 int iCol = pExpr->iColumn; /* Index of column in pTab */
97336 int iCol = p->iColumn;
97422 int iCol = pColExpr->iColumn;
98656 ** a column in table number iTable with a copy of the iColumn-th
98675 if( pExpr->iColumn<0 ){
98679 assert( pEList!=0 && pExpr->iColumn<pEList->nExpr );
98681 pNew = sqlite3ExprDup(db, pEList->a[pExpr->iColumn].pExpr, 0);
100516 pCol->pTab, pCol->iColumn, pCol->iTable, r1, 0);
105002 ** where X is a reference to the iColumn of table iCur and <op> is one of
105026 int iColumn, /* Column number of LHS */
105037 int iOrigCol = iColumn; /* Original value of iColumn */
105040 int aEquiv[22]; /* iCur,iColumn and up to 10 other equivalents */
105044 aEquiv[1] = iColumn;
105049 && pTerm->u.leftColumn==iColumn
105093 if( aEquiv[j]==pX->iTable && aEquiv[j+1]==pX->iColumn ) break;
105097 aEquiv[j+1] = pX->iColumn;
105106 iColumn = aEquiv[iEquiv++];
105172 assert( pLeft->iColumn!=(-1) ); /* Because IPK never has AFF_TEXT */
105181 int iCol = pRight->iColumn;
105204 sqlite3VdbeSetVarmask(v, pRight->iColumn);
105463 int iColumn = -1; /* Column index on lhs of IN operator */
105469 ** will be recorded in iCursor and iColumn. There might not be any
105494 iColumn = pOrTerm->u.leftColumn;
105515 }else if( pOrTerm->u.leftColumn!=iColumn ){
105550 assert( pOrTerm->u.leftColumn==iColumn );
105652 pTerm->u.leftColumn = pLeft->iColumn;
105687 pNew->u.leftColumn = pLeft->iColumn;
105837 pNewTerm->u.leftColumn = pLeft->iColumn;
105861 && pExpr->pLeft->iColumn>=0
105878 pNewTerm->u.leftColumn = pLeft->iColumn;
105918 && p->iColumn==pIdx->aiColumn[iCol]
105970 pTerm = findTerm(pWC, p->iTable, p->iColumn, ~(Bitmask)0, WO_EQ, 0);
106021 if( p->op==TK_COLUMN && p->iTable==iBase && p->iColumn<0 ) return 1;
106087 p->aConstraint[i].iColumn,
106095 p->aOrderBy[i].iColumn,
106552 pIdxCons[j].iColumn = pTerm->u.leftColumn;
106571 pIdxOrderBy[i].iColumn = pExpr->iColumn;
107011 int iVar = pExpr->iColumn;
107355 int iColumn; /* The i-th column of the index. -1 for rowid */
107373 iColumn = pIdx->aiColumn[i];
107374 if( iColumn==pIdx->pTable->iPKey ){
107375 iColumn = -1;
107381 iColumn = -1;
107389 if( pOBExpr->iColumn==iColumn ){
107410 pConstraint = findTerm(p->pWC, base, iColumn, p->notReady,
107425 pRight->iTable, pRight->iColumn));
107426 isEq = isOrderedColumn(p, pRight->iTable, pRight->iColumn);
107456 if( iColumn<0 ){
107459 }else if( pTab->aCol[iColumn].notNull==0 && isEq!=1 ){
108823 /* assert( pOrderBy->a[0].pExpr->iColumn==pIdx->aiColumn[nEq] ); */
119376 int iColumn; /* Index of column this phrase must match */
120730 && (pCons->iColumn<0 || pCons->iColumn==p->nColumn+1 )
120747 && pCons->iColumn>=0 && pCons->iColumn<=p->nColumn
120749 pInfo->idxNum = FTS3_FULLTEXT_SEARCH + pCons->iColumn;
120756 && pCons->iColumn==p->nColumn + 2
120775 if( pOrder->iColumn<0 || pOrder->iColumn==p->nColumn+1 ){
122116 int iColumn, /* Column to query (or -ve for all columns) */
122131 | (iColumn<p->nColumn ? FTS3_SEGMENT_COLUMN_FILTER : 0);
122132 filter.iCol = iColumn;
123089 rc = fts3TermSelect(pTab, pToken, p->iColumn, &nThis, &pThis);
123229 int iCol = (p->iColumn >= pTab->nColumn ? -1 : p->iColumn);
123501 pTC->iCol = pPhrase->iColumn;
124522 if( (pPhrase->iColumn<pTab->nColumn && pPhrase->iColumn!=iCol) ){
124810 && pInfo->aOrderBy[0].iColumn==0
124818 if( pInfo->aConstraint[i].usable && pInfo->aConstraint[i].iColumn==0 ){
125312 int iCol, /* Value for Fts3Phrase.iColumn */
125340 pRet->pPhrase->iColumn = iCol;
125480 p->pPhrase->iColumn = pParse->iDefaultCol;
126266 "%zPHRASE %d 0", zBuf, pPhrase->iColumn);
128417 && pInfo->aConstraint[i].iColumn==0
137720 if( p->usable && p->iColumn==0 && p->op==SQLITE_INDEX_CONSTRAINT_EQ ){
137740 if( p->usable && (p->iColumn>0 || p->op==SQLITE_INDEX_CONSTRAINT_MATCH) ){
137754 zIdxStr[iIdx++] = p->iColumn - 1 + 'a';