Home | History | Annotate | Download | only in amalgamation

Lines Matching defs:iColumn

5177 ** aConstraint[].iColumn.)^  ^(aConstraint[].usable is TRUE if the
5215 int iColumn; /* Column on left-hand side of constraint */
5222 int iColumn; /* Column number */
9864 ** pointer to this structure. The Expr.iColumn field is the index in
9883 int iColumn; /* Column number within the source table */
9948 ** Expr.iColumn is the column number for the specific column. If the
9957 ** If the expression is a subquery then Expr.iColumn holds an integer
10012 ynVar iColumn; /* TK_COLUMN: column index. -1 for rowid.
10539 int iColumn; /* Table column number */
69644 ** pExpr->iColumn Set to the column number within the table.
69730 pExpr->iColumn = j==pTab->iPKey ? -1 : (i16)j;
69802 pExpr->iColumn = (i16)iCol;
69815 pExpr->iColumn = -1; /* IMP: R-44911-55124 */
69901 if( pExpr->iColumn>=0 && pMatch!=0 ){
69902 int n = pExpr->iColumn;
69947 p->iColumn = -1;
69949 p->iColumn = (ynVar)iCol;
70005 pExpr->iColumn = -1;
70644 ** Expr.iColumn The column index in X.Y. -1 for the rowid.
70787 int j = pExpr->iColumn;
70843 int j = p->iColumn;
71294 pExpr->iColumn = (ynVar)(++pParse->nVar);
71300 pExpr->iColumn = (ynVar)i;
71322 pExpr->iColumn = pE->iColumn;
71327 pExpr->iColumn = (ynVar)(++pParse->nVar);
72048 return p->iColumn<0
72181 int iCol = pExpr->iColumn; /* Index of column <column> */
72261 if( pX->pLeft->iColumn<0 && !ExprHasAnyProperty(pX, EP_xIsSelect) ){
72467 ** of the memory cell in iColumn. If this is an EXISTS, write
72469 ** and record that memory cell in iColumn.
72754 if( p->iReg && p->iTable==iTab && p->iColumn==iCol ){
72762 assert( p->iReg==0 || p->iTable!=iTab || p->iColumn!=iCol );
72771 p->iColumn = iCol;
72792 p->iColumn = iCol;
72883 ** Generate code that will extract the iColumn-th column from
72889 ** is called. If iColumn<0 then code is generated that extracts the rowid.
72894 int iColumn, /* Index of the table column */
72903 if( p->iReg>0 && p->iTable==iTable && p->iColumn==iColumn ){
72910 sqlite3ExprCodeGetColumnOfTable(v, pTab, iTable, iColumn, iReg);
72911 sqlite3ExprCacheStore(pParse, iTable, iColumn, iReg);
73036 iColumn + pParse->ckBase;
73039 pExpr->iColumn, pExpr->iTable, target);
73083 sqlite3VdbeAddOp2(v, OP_Variable, pExpr->iColumn, target);
73425 ** new.* pseudo-table, or 0 for the old.* pseudo-table. Expr.iColumn
73448 int p1 = pExpr->iTable * (pTab->nCol+1) + 1 + pExpr->iColumn;
73451 assert( pExpr->iColumn>=-1 && pExpr->iColumn<pTab->nCol );
73452 assert( pTab->iPKey<0 || pExpr->iColumn!=pTab->iPKey );
73458 (pExpr->iColumn<0 ? "rowid" : pExpr->pTab->aCol[pExpr->iColumn].zName),
73465 if( pExpr->iColumn>=0
73466 && pTab->aCol[pExpr->iColumn].affinity==SQLITE_AFF_REAL
74186 if( pA->iTable!=pB->iTable || pA->iColumn!=pB->iColumn ) return 2;
74299 pCol->iColumn==pExpr->iColumn ){
74309 pCol->iColumn = pExpr->iColumn;
74321 pE->iColumn==pExpr->iColumn ){
76755 iCol = pExpr->iColumn;
83827 pRight->iColumn = -1;
90921 int iCol = pExpr->iColumn; /* Index of column in pTab */
91098 int iCol = p->iColumn;
91175 int iCol = pColExpr->iColumn;
92402 ** a column in table number iTable with a copy of the iColumn-th
92421 if( pExpr->iColumn<0 ){
92425 assert( pEList!=0 && pExpr->iColumn<pEList->nExpr );
92427 pNew = sqlite3ExprDup(db, pEList->a[pExpr->iColumn].pExpr, 0);
94015 pCol->pTab, pCol->iColumn, pCol->iTable, r1);
98216 ** where X is a reference to the iColumn of table iCur and <op> is one of
98223 int iColumn, /* Column number of LHS */
98235 && pTerm->u.leftColumn==iColumn
98245 idxaff = pIdx->pTable->aCol[iColumn].affinity;
98256 for(j=0; pIdx->aiColumn[j]!=iColumn; j++){
98324 assert( pLeft->iColumn!=(-1) ); /* Because IPK never has AFF_TEXT */
98333 int iCol = pRight->iColumn;
98356 sqlite3VdbeSetVarmask(v, pRight->iColumn); /* IMP: R-23257-02778 */
98615 int iColumn = -1; /* Column index on lhs of IN operator */
98621 ** will be recorded in iCursor and iColumn. There might not be any
98646 iColumn = pOrTerm->u.leftColumn;
98667 }else if( pOrTerm->u.leftColumn!=iColumn ){
98702 assert( pOrTerm->u.leftColumn==iColumn );
98803 pTerm->u.leftColumn = pLeft->iColumn;
98830 pNew->u.leftColumn = pLeft->iColumn;
98977 pNewTerm->u.leftColumn = pLeft->iColumn;
99001 && pExpr->pLeft->iColumn>=0
99018 pNewTerm->u.leftColumn = pLeft->iColumn;
99111 int iColumn; /* The i-th column of the index. -1 for rowid */
99126 iColumn = pIdx->aiColumn[i];
99127 if( iColumn==pIdx->pTable->iPKey ){
99128 iColumn = -1;
99133 iColumn = -1;
99137 if( pExpr->iColumn!=iColumn || sqlite3StrICmp(pColl->zName, zColl) ){
99154 assert( pIdx->aSortOrder!=0 || iColumn==-1 );
99169 if( iColumn<0 && !referencesOtherTables(pOrderBy, pMaskSet, j, base) ){
99230 p->aConstraint[i].iColumn,
99238 p->aOrderBy[i].iColumn,
99681 pIdxCons[j].iColumn = pTerm->u.leftColumn;
99698 pIdxOrderBy[i].iColumn = pExpr->iColumn;
100046 int iVar = pExpr->iColumn;
101520 /* assert( pOrderBy->a[0].pExpr->iColumn==pIdx->aiColumn[nEq] ); */
113210 int iColumn; /* Index of column this phrase must match */
114130 && (pCons->iColumn<0 || pCons->iColumn==p->nColumn+1 )
114147 && pCons->iColumn>=0 && pCons->iColumn<=p->nColumn
114149 pInfo->idxNum = FTS3_FULLTEXT_SEARCH + pCons->iColumn;
115308 int iColumn, /* Column to query (or -ve for all columns) */
115325 | (iColumn<p->nColumn ? FTS3_SEGMENT_COLUMN_FILTER : 0);
115326 filter.iCol = iColumn;
115401 int iCol = pExpr->pPhrase->iColumn;
115461 int iCol = pPhrase->iColumn;
116913 && pInfo->aOrderBy[0].iColumn==0
116921 if( pInfo->aConstraint[i].usable && pInfo->aConstraint[i].iColumn==0 ){
117371 int iCol, /* Value for Fts3Phrase.iColumn */
117401 pRet->pPhrase->iColumn = iCol;
117523 p->pPhrase->iColumn = pParse->iDefaultCol;
118038 "%zPHRASE %d %d", zBuf, pPhrase->iColumn, pPhrase->isNot);
125635 if( p->usable && p->iColumn==0 && p->op==SQLITE_INDEX_CONSTRAINT_EQ ){
125655 if( p->usable && (p->iColumn>0 || p->op==SQLITE_INDEX_CONSTRAINT_MATCH) ){
125669 zIdxStr[iIdx++] = p->iColumn - 1 + 'a';