Home | History | Annotate | Download | only in orig

Lines Matching refs:iFrom

10258     int iFrom;         /* Index of column in pFrom */
10825 u8 iFrom; /* Which entry in the FROM clause */
52090 ** Somewhere on pPage is a pointer to page iFrom. Modify this pointer so
52103 static int modifyPagePointer(MemPage *pPage, Pgno iFrom, Pgno iTo, u8 eType){
52108 if( get4byte(pPage->aData)!=iFrom ){
52127 && iFrom==get4byte(&pCell[info.iOverflow])
52133 if( get4byte(pCell)==iFrom ){
52142 get4byte(&pPage->aData[pPage->hdrOffset+8])!=iFrom ){
71402 if( pFKey->aCol[j].iFrom==iCol ){
76612 ** Generate code to move content from registers iFrom...iFrom+nReg-1
76615 SQLITE_PRIVATE void sqlite3ExprCodeMove(Parse *pParse, int iFrom, int iTo, int nReg){
76618 if( NEVER(iFrom==iTo) ) return;
76619 sqlite3VdbeAddOp3(pParse->pVdbe, OP_Move, iFrom, iTo, nReg);
76622 if( x>=iFrom && x<iFrom+nReg ){
76623 p->iReg += iTo-iFrom;
76629 ** Generate code to copy content from registers iFrom...iFrom+nReg-1
76632 SQLITE_PRIVATE void sqlite3ExprCodeCopy(Parse *pParse, int iFrom, int iTo, int nReg){
76634 if( NEVER(iFrom==iTo) ) return;
76636 sqlite3VdbeAddOp2(pParse->pVdbe, OP_Copy, iFrom+i, iTo+i);
76642 ** Return true if any register in the range iFrom..iTo (inclusive)
76648 static int usedAsColumnCache(Parse *pParse, int iFrom, int iTo){
76653 if( r>=iFrom && r<=iTo ) return 1; /*NO_TEST*/
83052 ** root-page of a table or index in database iDb has changed from iFrom
83063 ** rootpage==iFrom have been converted to have a rootpage of iTo
83067 SQLITE_PRIVATE void sqlite3RootPageMoved(sqlite3 *db, int iDb, int iFrom, int iTo){
83077 if( pTab->tnum==iFrom ){
83084 if( pIdx->tnum==iFrom ){
83448 pFKey->aCol[0].iFrom = p->nCol-1;
83454 pFKey->aCol[i].iFrom = j;
87979 for(i=0; i<nCol; i++) aiCol[i] = pFKey->aCol[i].iFrom;
88006 if( aiCol ) aiCol[i] = pFKey->aCol[j].iFrom;
88266 iCol = aiCol ? aiCol[i] : pFKey->aCol[0].iFrom;
88491 int iReg = pFKey->aCol[i].iFrom + regOld + 1;
88503 iCol = pFKey->aCol[0].iFrom;
88608 for(i=0; i<p->nCol; i++) mask |= COLUMN_MASK(p->aCol[i].iFrom);
88656 int iChildKey = p->aCol[i].iFrom;
88748 iFromCol = aiCol ? aiCol[i] : pFKey->aCol[0].iFrom;
93119 pTab->aCol[pFK->aCol[j].iFrom].zName, 0);
97202 ** The subquery is p->pSrc->a[iFrom]. isAgg is true if the outer query
97214 int iFrom, /* Index in p->pSrc->a[] of the inner subquery */
97237 assert( pSrc && iFrom>=0 && iFrom<pSrc->nSrc );
97238 pSubitem = &pSrc->a[iFrom];
97408 /* Begin flattening the iFrom-th entry of the FROM clause
97491 pParent->pSrc = pSrc = sqlite3SrcListEnlarge(db, pSrc, nSubSrc-1,iFrom+1);
97501 sqlite3IdListDelete(db, pSrc->a[i+iFrom].pUsing);
97502 pSrc->a[i+iFrom] = pSubSrc->a[i];
97505 pSrc->a[iFrom].jointype = jointype;
106255 int iFrom, /* Value for "from" column of output */
106260 struct SrcList_item *pItem = &pTabList->a[pLevel->iFrom];
106321 sqlite3VdbeAddOp4(v, OP_Explain, iId, iLevel, iFrom, zMsg, P4_DYNAMIC);
106359 pTabItem = &pWInfo->pTabList->a[pLevel->iFrom];
106382 if( pLevel->iFrom>0 && (pTabItem[0].jointype & JT_LEFT)!=0 ){
106848 memcpy(&pOrTab->a[k], &origSrc[pLevel[k].iFrom], sizeof(pOrTab->a[k]));
106912 pParse, pOrTab, &pSubWInfo->a[0], iLevel, pLevel->iFrom, 0
107165 int iFrom; /* First unused FROM clause element */
107300 ** pWInfo->a[].iFrom Which term of the FROM clause is being coded
107311 for(i=iFrom=0, pLevel=pWInfo->a; i<nTabList; i++, pLevel++){
107370 for(isOptimal=(iFrom<nTabList-1); isOptimal>=0 && bestJ<0; isOptimal--){
107372 for(j=iFrom, pTabItem=&pTabList->a[j]; j<nTabList; j++, pTabItem++){
107379 if( j!=iFrom && doNotReorder ) break;
107382 if( j==iFrom ) iFrom++;
107478 pLevel->iFrom = (u8)bestJ;
107534 pTabItem = &pTabList->a[pLevel->iFrom];
107594 explainOneScan(pParse, pTabList, pLevel, i, pLevel->iFrom, wctrlFlags);
107610 pTabItem = &pTabList->a[pLevel->iFrom];
107725 struct SrcList_item *pTabItem = &pTabList->a[pLevel->iFrom];