Lines Matching refs:iColumn
5797 int iColumn; /* Column on left-hand side of constraint */ member
5804 int iColumn; /* Column number */ member
11828 int iColumn; /* Column number within the source table */ member
11958 ynVar iColumn; /* TK_COLUMN: column index. -1 for rowid. member
12530 i16 iColumn; /* Table column number */ member
64583 int iBindVar = pExpr->iColumn;
64962 printf(" r[%d]={%d:%d}", x->iReg, x->iTable, x->iColumn);
81579 pExpr->iColumn = j;
81611 pExpr->iColumn = j==pTab->iPKey ? -1 : (i16)j;
81675 pExpr->iColumn = (i16)iCol;
81689 pExpr->iColumn = -1; /* IMP: R-44911-55124 */
81785 if( pExpr->iColumn>=0 && pMatch!=0 ){
81786 int n = pExpr->iColumn;
81833 p->iColumn = -1;
81835 p->iColumn = (ynVar)iCol;
81937 pExpr->iColumn = -1;
82856 int j = pExpr->iColumn;
82945 int j = p->iColumn;
83465 pExpr->iColumn = (ynVar)(++pParse->nVar);
83474 pExpr->iColumn = x = (ynVar)i;
83495 pExpr->iColumn = x = (ynVar)i+1;
83499 if( x==0 ) x = pExpr->iColumn = (ynVar)(++pParse->nVar);
84270 (p->iColumn>=0 && p->pTab->aCol[p->iColumn].notNull==0);
84307 return p->iColumn<0
84511 iCol = (i16)pExpr->iColumn;
84592 if( pX->pLeft->iColumn<0 && !ExprHasProperty(pX, EP_xIsSelect) ){
85129 assert( p->iReg==0 || p->iTable!=iTab || p->iColumn!=iCol );
85138 p->iColumn = iCol;
85159 p->iColumn = iCol;
85274 int iColumn, /* Index of the table column */
85284 if( p->iReg>0 && p->iTable==iTable && p->iColumn==iColumn ){
85291 sqlite3ExprCodeGetColumnOfTable(v, pTab, iTable, iColumn, iReg);
85295 sqlite3ExprCacheStore(pParse, iTable, iColumn, iReg);
85419 inReg = pExpr->iColumn + pParse->ckBase;
85427 pExpr->iColumn, iTab, target,
85471 sqlite3VdbeAddOp2(v, OP_Variable, pExpr->iColumn, target);
85474 || strcmp(pExpr->u.zToken, pParse->azVar[pExpr->iColumn-1])==0 );
85475 sqlite3VdbeChangeP4(v, -1, pParse->azVar[pExpr->iColumn-1], P4_STATIC);
85845 int p1 = pExpr->iTable * (pTab->nCol+1) + 1 + pExpr->iColumn;
85848 assert( pExpr->iColumn>=-1 && pExpr->iColumn<pTab->nCol );
85849 assert( pTab->iPKey<0 || pExpr->iColumn!=pTab->iPKey );
85855 (pExpr->iColumn<0 ? "rowid" : pExpr->pTab->aCol[pExpr->iColumn].zName),
85865 if( pExpr->iColumn>=0
85866 && pTab->aCol[pExpr->iColumn].affinity==SQLITE_AFF_REAL
86133 pExpr->iTable, pExpr->iColumn);
86139 sqlite3TreeViewLine(pView, "COLUMN(%d)", pExpr->iColumn);
86142 pExpr->iTable, pExpr->iColumn);
86176 pExpr->u.zToken, pExpr->iColumn);
86307 pExpr->iTable ? "NEW" : "OLD", pExpr->iColumn);
86825 if( pA->iColumn!=pB->iColumn ) return 2;
87026 pCol->iColumn==pExpr->iColumn ){
87036 pCol->iColumn = pExpr->iColumn;
87048 pE->iColumn==pExpr->iColumn ){
90715 iCol = pExpr->iColumn;
98727 pExpr->iColumn = iCol;
107809 int iCol = pExpr->iColumn; /* Index of column in pTab */
107999 int iCol = p->iColumn;
108086 int iCol = pColExpr->iColumn;
109573 if( pExpr->iColumn<0 ){
109577 assert( pEList!=0 && pExpr->iColumn<pEList->nExpr );
109579 pNew = sqlite3ExprDup(db, pEList->a[pExpr->iColumn].pExpr, 0);
111667 pCol->pTab, pCol->iColumn, pCol->iTable, r1, 0);
116614 int iColumn; /* The column on the LHS of the term. -1 for IPK */
116622 iColumn = pScan->aEquiv[pScan->iEquiv-1];
116626 && pTerm->u.leftColumn==iColumn
116637 && pScan->aEquiv[j+1]==pX->iColumn ){
116643 pScan->aEquiv[j+1] = pX->iColumn;
116667 && pX->iColumn==pScan->aEquiv[1]
116706 int iColumn, /* Column to scan for */
116715 if( pIdx && iColumn>=0 ){
116716 pScan->idxaff = pIdx->pTable->aCol[iColumn].affinity;
116717 for(j=0; pIdx->aiColumn[j]!=iColumn; j++){
116728 pScan->aEquiv[1] = iColumn;
116760 int iColumn, /* Column number of LHS */
116769 p = whereScanInit(&scan, pWC, iCur, iColumn, op, pIdx);
116844 assert( pLeft->iColumn!=(-1) ); /* Because IPK never has AFF_TEXT */
116850 int iCol = pRight->iColumn;
116873 sqlite3VdbeSetVarmask(v, pRight->iColumn);
117241 int iColumn = -1; /* Column index on lhs of IN operator */
117272 iColumn = pOrTerm->u.leftColumn;
117293 }else if( pOrTerm->u.leftColumn!=iColumn ){
117326 assert( pOrTerm->u.leftColumn==iColumn );
117428 pTerm->u.leftColumn = pLeft->iColumn;
117462 pNew->u.leftColumn = pLeft->iColumn;
117629 pNewTerm->u.leftColumn = pLeft->iColumn;
117652 && pExpr->pLeft->iColumn>=0
117670 pNewTerm->u.leftColumn = pLeft->iColumn;
117706 && p->iColumn==pIdx->aiColumn[iCol]
117750 if( p->op==TK_COLUMN && p->iTable==iBase && p->iColumn<0 ) return 1;
117807 p->aConstraint[i].iColumn,
117815 p->aOrderBy[i].iColumn,
118129 pIdxCons[j].iColumn = pTerm->u.leftColumn;
118148 pIdxOrderBy[i].iColumn = pExpr->iColumn;
121157 if( pExpr->iColumn<0 ) return 1;
121159 if( pExpr->iColumn==pIndex->aiColumn[jj] ) return 1;
121803 int iColumn; /* A column number within table iCur */
121866 pTerm = findTerm(&pWInfo->sWC, iCur, pOBExpr->iColumn,
121869 if( (pTerm->eOperator&WO_EQ)!=0 && pOBExpr->iColumn>=0 ){
121921 iColumn = pIndex->aiColumn[j];
121923 if( iColumn==pIndex->pTable->iPKey ) iColumn = -1;
121925 iColumn = -1;
121933 && iColumn>=0
121935 && pIndex->pTable->aCol[iColumn].notNull==0
121953 if( pOBExpr->iColumn!=iColumn ) continue;
121954 if( iColumn>=0 ){
121974 if( iColumn<0 ){
133069 int iColumn; /* Index of column this phrase must match */
134555 bDocid = (pCons->iColumn<0 || pCons->iColumn==p->nColumn+1);
134574 && pCons->iColumn>=0 && pCons->iColumn<=p->nColumn
134576 pInfo->idxNum = FTS3_FULLTEXT_SEARCH + pCons->iColumn;
134583 && pCons->iColumn==p->nColumn + 2
134626 if( pOrder->iColumn<0 || pOrder->iColumn==p->nColumn+1 ){
135994 int iColumn, /* Column to query (or -ve for all columns) */
136009 | (iColumn<p->nColumn ? FTS3_SEGMENT_COLUMN_FILTER : 0);
136010 filter.iCol = iColumn;
137080 rc = fts3TermSelect(pTab, pToken, p->iColumn, &nThis, &pThis);
137242 int iCol = (p->iColumn >= pTab->nColumn ? -1 : p->iColumn);
137688 pTC->iCol = pPhrase->iColumn;
138744 if( (pPhrase->iColumn<pTab->nColumn && pPhrase->iColumn!=iCol) ){
139052 && pInfo->aOrderBy[0].iColumn==0
139063 int iCol = pInfo->aConstraint[i].iColumn;
139653 pRet->pPhrase->iColumn = iCol;
139794 p->pPhrase->iColumn = pParse->iDefaultCol;
140572 "%zPHRASE %d 0", zBuf, pPhrase->iColumn);
142745 && pInfo->aConstraint[i].iColumn==0
149470 if( (pPhrase->iColumn>=pTab->nColumn || pPhrase->iColumn==iCol) ){
152652 if( p->usable && p->iColumn==0 && p->op==SQLITE_INDEX_CONSTRAINT_EQ ){
152674 if( p->usable && (p->iColumn>0 || p->op==SQLITE_INDEX_CONSTRAINT_MATCH) ){
152688 zIdxStr[iIdx++] = p->iColumn - 1 + '0';
155406 && pIdxInfo->aOrderBy[0].iColumn==0
155410 && pIdxInfo->aOrderBy[0].iColumn==0
155412 && pIdxInfo->aOrderBy[1].iColumn==1