Home | History | Annotate | Download | only in orig

Lines Matching defs:iColumn

5473 ** aConstraint[].iColumn.)^  ^(aConstraint[].usable is TRUE if the
5523 int iColumn; /* Column on left-hand side of constraint */
5530 int iColumn; /* Column number */
11231 ** pointer to this structure. The Expr.iColumn field is the index in
11252 int iColumn; /* Column number within the source table */
11315 ** Expr.iColumn is the column number for the specific column. If the
11324 ** If the expression is a subquery then Expr.iColumn holds an integer
11382 ynVar iColumn; /* TK_COLUMN: column index. -1 for rowid.
11938 i16 iColumn; /* Table column number */
62015 int iBindVar = pExpr->iColumn;
62396 printf(" r[%d]={%d:%d}", x->iReg, x->iTable, x->iColumn);
76964 ** pExpr->iColumn Set to the column number within the table.
77050 pExpr->iColumn = j;
77082 pExpr->iColumn = j==pTab->iPKey ? -1 : (i16)j;
77141 pExpr->iColumn = (i16)iCol;
77155 pExpr->iColumn = -1; /* IMP: R-44911-55124 */
77251 if( pExpr->iColumn>=0 && pMatch!=0 ){
77252 int n = pExpr->iColumn;
77299 p->iColumn = -1;
77301 p->iColumn = (ynVar)iCol;
77403 pExpr->iColumn = -1;
78089 ** Expr.iColumn The column index in X.Y. -1 for the rowid.
78191 ** is set to -1 and the Expr.iColumn value is set to the column number.
78279 int j = pExpr->iColumn;
78367 int j = p->iColumn;
78855 pExpr->iColumn = (ynVar)(++pParse->nVar);
78864 pExpr->iColumn = x = (ynVar)i;
78885 pExpr->iColumn = x = (ynVar)i+1;
78889 if( x==0 ) x = pExpr->iColumn = (ynVar)(++pParse->nVar);
79599 return p->iColumn>=0 && p->pTab->aCol[p->iColumn].notNull==0;
79636 return p->iColumn<0
79840 iCol = (i16)pExpr->iColumn;
79921 if( pX->pLeft->iColumn<0 && !ExprHasProperty(pX, EP_xIsSelect) ){
80125 ** of the memory cell in iColumn. If this is an EXISTS, write
80127 ** and record that memory cell in iColumn.
80456 assert( p->iReg==0 || p->iTable!=iTab || p->iColumn!=iCol );
80465 p->iColumn = iCol;
80486 p->iColumn = iCol;
80590 ** Generate code that will extract the iColumn-th column from
80596 ** is called. If iColumn<0 then code is generated that extracts the rowid.
80601 int iColumn, /* Index of the table column */
80611 if( p->iReg>0 && p->iTable==iTable && p->iColumn==iColumn ){
80618 sqlite3ExprCodeGetColumnOfTable(v, pTab, iTable, iColumn, iReg);
80622 sqlite3ExprCacheStore(pParse, iTable, iColumn, iReg);
80753 inReg = pExpr->iColumn + pParse->ckBase;
80761 pExpr->iColumn, iTab, target,
80805 sqlite3VdbeAddOp2(v, OP_Variable, pExpr->iColumn, target);
80808 || strcmp(pExpr->u.zToken, pParse->azVar[pExpr->iColumn-1])==0 );
80809 sqlite3VdbeChangeP4(v, -1, pParse->azVar[pExpr->iColumn-1], P4_STATIC);
81169 ** new.* pseudo-table, or 0 for the old.* pseudo-table. Expr.iColumn
81192 int p1 = pExpr->iTable * (pTab->nCol+1) + 1 + pExpr->iColumn;
81195 assert( pExpr->iColumn>=-1 && pExpr->iColumn<pTab->nCol );
81196 assert( pTab->iPKey<0 || pExpr->iColumn!=pTab->iPKey );
81202 (pExpr->iColumn<0 ? "rowid" : pExpr->pTab->aCol[pExpr->iColumn].zName),
81209 if( pExpr->iColumn>=0
81210 && pTab->aCol[pExpr->iColumn].affinity==SQLITE_AFF_REAL
81477 pExpr->iTable, pExpr->iColumn);
81483 sqlite3ExplainPrintf(pOut, "COLUMN(%d)", pExpr->iColumn);
81486 pExpr->iTable, pExpr->iColumn);
81520 pExpr->u.zToken, pExpr->iColumn);
81657 ** new.* pseudo-table, or 0 for the old.* pseudo-table. Expr.iColumn
81662 pExpr->iTable ? "NEW" : "OLD", pExpr->iColumn);
82179 if( pA->iColumn!=pB->iColumn ) return 2;
82379 pCol->iColumn==pExpr->iColumn ){
82389 pCol->iColumn = pExpr->iColumn;
82401 pE->iColumn==pExpr->iColumn ){
86007 iCol = pExpr->iColumn;
93920 pExpr->iColumn = iCol;
102738 int iCol = pExpr->iColumn; /* Index of column in pTab */
102928 int iCol = p->iColumn;
103015 int iCol = pColExpr->iColumn;
104418 ** a column in table number iTable with a copy of the iColumn-th
104437 if( pExpr->iColumn<0 ){
104441 assert( pEList!=0 && pExpr->iColumn<pEList->nExpr );
104443 pNew = sqlite3ExprDup(db, pEList->a[pExpr->iColumn].pExpr, 0);
106452 pCol->pTab, pCol->iColumn, pCol->iTable, r1, 0);
111337 int iColumn; /* The column on the LHS of the term. -1 for IPK */
111345 iColumn = pScan->aEquiv[pScan->iEquiv-1];
111349 && pTerm->u.leftColumn==iColumn
111360 && pScan->aEquiv[j+1]==pX->iColumn ){
111366 pScan->aEquiv[j+1] = pX->iColumn;
111390 && pX->iColumn==pScan->aEquiv[1]
111414 ** for terms of the form "X <op> <expr>" where X is column iColumn of table
111429 int iColumn, /* Column to scan for */
111438 if( pIdx && iColumn>=0 ){
111439 pScan->idxaff = pIdx->pTable->aCol[iColumn].affinity;
111440 for(j=0; pIdx->aiColumn[j]!=iColumn; j++){
111451 pScan->aEquiv[1] = iColumn;
111459 ** where X is a reference to the iColumn of table iCur and <op> is one of
111483 int iColumn, /* Column number of LHS */
111492 p = whereScanInit(&scan, pWC, iCur, iColumn, op, pIdx);
111563 assert( pLeft->iColumn!=(-1) ); /* Because IPK never has AFF_TEXT */
111569 int iCol = pRight->iColumn;
111592 sqlite3VdbeSetVarmask(v, pRight->iColumn);
111853 int iColumn = -1; /* Column index on lhs of IN operator */
111859 ** will be recorded in iCursor and iColumn. There might not be any
111884 iColumn = pOrTerm->u.leftColumn;
111905 }else if( pOrTerm->u.leftColumn!=iColumn ){
111938 assert( pOrTerm->u.leftColumn==iColumn );
112041 pTerm->u.leftColumn = pLeft->iColumn;
112076 pNew->u.leftColumn = pLeft->iColumn;
112227 pNewTerm->u.leftColumn = pLeft->iColumn;
112251 && pExpr->pLeft->iColumn>=0
112269 pNewTerm->u.leftColumn = pLeft->iColumn;
112306 && p->iColumn==pIdx->aiColumn[iCol]
112350 if( p->op==TK_COLUMN && p->iTable==iBase && p->iColumn<0 ) return 1;
112407 p->aConstraint[i].iColumn,
112415 p->aOrderBy[i].iColumn,
112704 pIdxCons[j].iColumn = pTerm->u.leftColumn;
112723 pIdxOrderBy[i].iColumn = pExpr->iColumn;
115421 if( pExpr->iColumn==pIndex->aiColumn[jj] ) return 1;
116030 u8 isMatch; /* iColumn matches a term of the ORDER BY clause */
116037 int iColumn; /* A column number within table iCur */
116100 pTerm = findTerm(&pWInfo->sWC, iCur, pOBExpr->iColumn,
116103 if( (pTerm->eOperator&WO_EQ)!=0 && pOBExpr->iColumn>=0 ){
116151 /* Get the column number in the table (iColumn) and sort order
116155 iColumn = pIndex->aiColumn[j];
116157 if( iColumn==pIndex->pTable->iPKey ) iColumn = -1;
116159 iColumn = -1;
116167 && iColumn>=0
116169 && pIndex->pTable->aCol[iColumn].notNull==0
116187 if( pOBExpr->iColumn!=iColumn ) continue;
116188 if( iColumn>=0 ){
116208 if( iColumn<0 ){
126910 int iColumn; /* Index of column this phrase must match */
128362 bDocid = (pCons->iColumn<0 || pCons->iColumn==p->nColumn+1);
128381 && pCons->iColumn>=0 && pCons->iColumn<=p->nColumn
128383 pInfo->idxNum = FTS3_FULLTEXT_SEARCH + pCons->iColumn;
128390 && pCons->iColumn==p->nColumn + 2
128433 if( pOrder->iColumn<0 || pOrder->iColumn==p->nColumn+1 ){
129774 int iColumn, /* Column to query (or -ve for all columns) */
129789 | (iColumn<p->nColumn ? FTS3_SEGMENT_COLUMN_FILTER : 0);
129790 filter.iCol = iColumn;
130824 rc = fts3TermSelect(pTab, pToken, p->iColumn, &nThis, &pThis);
130986 int iCol = (p->iColumn >= pTab->nColumn ? -1 : p->iColumn);
131430 pTC->iCol = pPhrase->iColumn;
132465 if( (pPhrase->iColumn<pTab->nColumn && pPhrase->iColumn!=iCol) ){
132798 && pInfo->aOrderBy[0].iColumn==0
132809 int iCol = pInfo->aConstraint[i].iColumn;
133364 int iCol, /* Value for Fts3Phrase.iColumn */
133399 pRet->pPhrase->iColumn = iCol;
133540 p->pPhrase->iColumn = pParse->iDefaultCol;
134318 "%zPHRASE %d 0", zBuf, pPhrase->iColumn);
136485 && pInfo->aConstraint[i].iColumn==0
146329 if( p->usable && p->iColumn==0 && p->op==SQLITE_INDEX_CONSTRAINT_EQ ){
146351 if( p->usable && (p->iColumn>0 || p->op==SQLITE_INDEX_CONSTRAINT_MATCH) ){
146365 zIdxStr[iIdx++] = p->iColumn - 1 + '0';