• Home
  • Raw
  • Download

Lines Matching refs:iColumn

81192 -    switch( pConstraint->iColumn ){
82002 - switch( pConstraint->iColumn ){
82729 + if( pConstraint->iColumn<SERIES_COLUMN_START ) continue;
82730 + iCol = pConstraint->iColumn - SERIES_COLUMN_START;
82771 + if( pIdxInfo->nOrderBy>=1 && pIdxInfo->aOrderBy[0].iColumn==0 ){
85765 + switch( pConstraint->iColumn ){
86538 - if( pConstraint->iColumn<SERIES_COLUMN_START ) continue;
86539 - iCol = pConstraint->iColumn - SERIES_COLUMN_START;
86557 + switch( pConstraint->iColumn ){
91236 +** aConstraint[].iColumn field. ^An iColumn of -1 indicates the left-hand
91240 +** corresponding aConstraint[].iColumn is meaningless and should not be
100283 +** iColumn. Append this new expression term to the FULL JOIN Match set
100291 + i16 iColumn /* The column number */
100296 + pNew->iColumn = iColumn;
100345 - pExpr->iColumn = j;
100371 + extendFJMatch(pParse, &pFJMatch, pMatch, pExpr->iColumn);
100377 + pExpr->iColumn = j;
100431 + extendFJMatch(pParse, &pFJMatch, pMatch, pExpr->iColumn);
100437 pExpr->iColumn = j==pTab->iPKey ? -1 : (i16)j;
100498 + extendFJMatch(pParse, &pFJMatch, pMatch, pExpr->iColumn);
100883 pExpr->iColumn = x;
101117 - assert( pReq!=0 || pRhs->iColumn==XN_ROWID
101119 + assert( pReq!=0 || pRhs->iColumn==XN_ROWID || pParse->nErr );
101121 if( pIdx->aiColumn[j]!=pRhs->iColumn ) continue;
101254 + sqlite3VdbeAddOp3(v, OP_Offset, pArg->iTable, pArg->iColumn, target);
101290 - sqlite3VdbeAddOp3(v, OP_Offset, pArg->iTable, pArg->iColumn, target);
101324 - return pExpr->pLeft->iTable + pExpr->iColumn;
101325 + return pLeft->iTable + pExpr->iColumn;
103784 int iCol = pColExpr->iColumn;
105944 pExpr->iColumn = pX->iIdxCol;
106601 }else if( pOrTerm->u.x.leftColumn!=iColumn || (iColumn==XN_EXPR
106731 && pExpr->pLeft->iColumn>=0
107028 pColRef->iColumn = k++;
107118 && (iColumn!=XN_EXPR
107128 int j = iColumn;
107129 iColumn = pIdx->aiColumn[j];
107130 - if( iColumn==XN_EXPR ){
107135 - }else if( iColumn==pIdx->pTable->iPKey ){
107136 + if( iColumn==pIdx->pTable->iPKey ){
107137 iColumn = XN_ROWID;
107138 }else if( iColumn>=0 ){
107139 pScan->idxaff = pIdx->pTable->aCol[iColumn].affinity;
107141 + }else if( iColumn==XN_EXPR ){
107147 }else if( iColumn==XN_EXPR ){
107165 p->aConstraint[i].iColumn,
107494 + assert( pExpr->iColumn>=XN_ROWID && pExpr->iColumn<pTab->nCol );
107507 + assert( pE2->iColumn>=XN_ROWID && pE2->iColumn<pTab->nCol );
107508 + pExpr->iColumn = pE2->iColumn;
107509 + if( pE2->iColumn<0 ) continue; /* Collseq does not matter for rowid */
107510 + zColl = sqlite3ColumnColl(&pTab->aCol[pE2->iColumn]);
107576 pIdxCons[j].iColumn = pTerm->u.x.leftColumn;
107598 - pIdxOrderBy[i].iColumn = pExpr->iColumn;
107603 + && pExpr->iColumn==pExpr->pLeft->iColumn) );
107604 + pIdxOrderBy[j].iColumn = pExpr->iColumn;
116069 +** aConstraint[].iColumn field. ^An iColumn of -1 indicates the left-hand
116073 +** corresponding aConstraint[].iColumn is meaningless and should not be
118827 - switch( pConstraint->iColumn ){
119637 - switch( pConstraint->iColumn ){
120364 + if( pConstraint->iColumn<SERIES_COLUMN_START ) continue;
120365 + iCol = pConstraint->iColumn - SERIES_COLUMN_START;
120406 + if( pIdxInfo->nOrderBy>=1 && pIdxInfo->aOrderBy[0].iColumn==0 ){
123400 + switch( pConstraint->iColumn ){
124173 - if( pConstraint->iColumn<SERIES_COLUMN_START ) continue;
124174 - iCol = pConstraint->iColumn - SERIES_COLUMN_START;
124192 + switch( pConstraint->iColumn ){
128871 +** aConstraint[].iColumn field. ^An iColumn of -1 indicates the left-hand
128875 +** corresponding aConstraint[].iColumn is meaningless and should not be
137924 +** iColumn. Append this new expression term to the FULL JOIN Match set
137932 + i16 iColumn /* The column number */
137937 + pNew->iColumn = iColumn;
137986 - pExpr->iColumn = j;
138012 + extendFJMatch(pParse, &pFJMatch, pMatch, pExpr->iColumn);
138018 + pExpr->iColumn = j;
138072 + extendFJMatch(pParse, &pFJMatch, pMatch, pExpr->iColumn);
138078 pExpr->iColumn = j==pTab->iPKey ? -1 : (i16)j;
138139 + extendFJMatch(pParse, &pFJMatch, pMatch, pExpr->iColumn);
138524 pExpr->iColumn = x;
138758 - assert( pReq!=0 || pRhs->iColumn==XN_ROWID
138760 + assert( pReq!=0 || pRhs->iColumn==XN_ROWID || pParse->nErr );
138762 if( pIdx->aiColumn[j]!=pRhs->iColumn ) continue;
138895 + sqlite3VdbeAddOp3(v, OP_Offset, pArg->iTable, pArg->iColumn, target);
138931 - sqlite3VdbeAddOp3(v, OP_Offset, pArg->iTable, pArg->iColumn, target);
138965 - return pExpr->pLeft->iTable + pExpr->iColumn;
138966 + return pLeft->iTable + pExpr->iColumn;
141425 int iCol = pColExpr->iColumn;
143585 pExpr->iColumn = pX->iIdxCol;
144242 }else if( pOrTerm->u.x.leftColumn!=iColumn || (iColumn==XN_EXPR
144372 && pExpr->pLeft->iColumn>=0
144669 pColRef->iColumn = k++;
144759 && (iColumn!=XN_EXPR
144769 int j = iColumn;
144770 iColumn = pIdx->aiColumn[j];
144771 - if( iColumn==XN_EXPR ){
144776 - }else if( iColumn==pIdx->pTable->iPKey ){
144777 + if( iColumn==pIdx->pTable->iPKey ){
144778 iColumn = XN_ROWID;
144779 }else if( iColumn>=0 ){
144780 pScan->idxaff = pIdx->pTable->aCol[iColumn].affinity;
144782 + }else if( iColumn==XN_EXPR ){
144788 }else if( iColumn==XN_EXPR ){
144806 p->aConstraint[i].iColumn,
145135 + assert( pExpr->iColumn>=XN_ROWID && pExpr->iColumn<pTab->nCol );
145148 + assert( pE2->iColumn>=XN_ROWID && pE2->iColumn<pTab->nCol );
145149 + pExpr->iColumn = pE2->iColumn;
145150 + if( pE2->iColumn<0 ) continue; /* Collseq does not matter for rowid */
145151 + zColl = sqlite3ColumnColl(&pTab->aCol[pE2->iColumn]);
145217 pIdxCons[j].iColumn = pTerm->u.x.leftColumn;
145239 - pIdxOrderBy[i].iColumn = pExpr->iColumn;
145244 + && pExpr->iColumn==pExpr->pLeft->iColumn) );
145245 + pIdxOrderBy[j].iColumn = pExpr->iColumn;
154461 +** aConstraint[].iColumn field. ^An iColumn of -1 indicates the left-hand
154465 +** corresponding aConstraint[].iColumn is meaningless and should not be
160671 + int iCol = pIdxInfo->aConstraint[i].iColumn;
160701 + int iCol = pIdxInfo->aConstraint[i].iColumn;
160717 + int iCol = pIdxInfo->aOrderBy[i].iColumn;
160827 + if( pIdxInfo->nOrderBy>=1 && pIdxInfo->aOrderBy[0].iColumn==0 ){
165477 pExpr->iColumn = x;
165711 - assert( pReq!=0 || pRhs->iColumn==XN_ROWID
165713 + assert( pReq!=0 || pRhs->iColumn==XN_ROWID || pParse->nErr );
165715 if( pIdx->aiColumn[j]!=pRhs->iColumn ) continue;
165848 + sqlite3VdbeAddOp3(v, OP_Offset, pArg->iTable, pArg->iColumn, target);
165884 - sqlite3VdbeAddOp3(v, OP_Offset, pArg->iTable, pArg->iColumn, target);
165918 - return pExpr->pLeft->iTable + pExpr->iColumn;
165919 + return pLeft->iTable + pExpr->iColumn;
169049 +** iColumn. Append this new expression term to the FULL JOIN Match set
169057 + i16 iColumn /* The column number */
169062 + pNew->iColumn = iColumn;
169111 - pExpr->iColumn = j;
169137 + extendFJMatch(pParse, &pFJMatch, pMatch, pExpr->iColumn);
169143 + pExpr->iColumn = j;
169197 + extendFJMatch(pParse, &pFJMatch, pMatch, pExpr->iColumn);
169203 pExpr->iColumn = j==pTab->iPKey ? -1 : (i16)j;
169264 + extendFJMatch(pParse, &pFJMatch, pMatch, pExpr->iColumn);
170233 int iCol = pColExpr->iColumn;
174747 +** aConstraint[].iColumn field. ^An iColumn of -1 indicates the left-hand
174751 +** corresponding aConstraint[].iColumn is meaningless and should not be
181920 && (iColumn!=XN_EXPR
181930 int j = iColumn;
181931 iColumn = pIdx->aiColumn[j];
181932 - if( iColumn==XN_EXPR ){
181937 - }else if( iColumn==pIdx->pTable->iPKey ){
181938 + if( iColumn==pIdx->pTable->iPKey ){
181939 iColumn = XN_ROWID;
181940 }else if( iColumn>=0 ){
181941 pScan->idxaff = pIdx->pTable->aCol[iColumn].affinity;
181943 + }else if( iColumn==XN_EXPR ){
181949 }else if( iColumn==XN_EXPR ){
181967 p->aConstraint[i].iColumn,
182296 + assert( pExpr->iColumn>=XN_ROWID && pExpr->iColumn<pTab->nCol );
182309 + assert( pE2->iColumn>=XN_ROWID && pE2->iColumn<pTab->nCol );
182310 + pExpr->iColumn = pE2->iColumn;
182311 + if( pE2->iColumn<0 ) continue; /* Collseq does not matter for rowid */
182312 + zColl = sqlite3ColumnColl(&pTab->aCol[pE2->iColumn]);
182378 pIdxCons[j].iColumn = pTerm->u.x.leftColumn;
182400 - pIdxOrderBy[i].iColumn = pExpr->iColumn;
182405 + && pExpr->iColumn==pExpr->pLeft->iColumn) );
182406 + pIdxOrderBy[j].iColumn = pExpr->iColumn;
184248 pExpr->iColumn = pX->iIdxCol;
184906 }else if( pOrTerm->u.x.leftColumn!=iColumn || (iColumn==XN_EXPR
185036 && pExpr->pLeft->iColumn>=0
185333 pColRef->iColumn = k++;