Lines Matching refs:aXRef

25   int *aXRef,          /* Mapping from columns of pTab to entries in pChanges */
100 int *aXRef, /* aXRef[j]>=0 if column j is being updated */ in indexColumnIsBeingUpdated() argument
106 return aXRef[iIdxCol]>=0; in indexColumnIsBeingUpdated()
112 aXRef,chngRowid); in indexColumnIsBeingUpdated()
129 int *aXRef, /* aXRef[j]>=0 if column j is being updated */ in indexWhereClauseMightChange() argument
134 aXRef, chngRowid); in indexWhereClauseMightChange()
308 int *aXRef = 0; /* aXRef[i] is the index in pChanges->a[] of the in sqlite3Update() local
440 aXRef = sqlite3DbMallocRawNN(db, sizeof(int) * (pTab->nCol+nIdx+1) + nIdx+2 ); in sqlite3Update()
441 if( aXRef==0 ) goto update_cleanup; in sqlite3Update()
442 aRegIdx = aXRef+pTab->nCol; in sqlite3Update()
446 for(i=0; i<pTab->nCol; i++) aXRef[i] = -1; in sqlite3Update()
494 aXRef[j] = i; in sqlite3Update()
519 aXRef[j] = -1; in sqlite3Update()
544 if( aXRef[i]>=0 ) continue; in sqlite3Update()
548 aXRef, chngRowid) in sqlite3Update()
550 aXRef[i] = 99999; in sqlite3Update()
565 hasFK = sqlite3FkRequired(pParse, pTab, aXRef, chngKey); in sqlite3Update()
575 || indexWhereClauseMightChange(pIdx,aXRef,chngRowid) in sqlite3Update()
582 if( indexColumnIsBeingUpdated(pIdx, i, aXRef, chngRowid) ){ in sqlite3Update()
654 updateVirtualTable(pParse, pTabList, pTab, pChanges, pRowidExpr, aXRef, in sqlite3Update()
937 j = aXRef[i]; in sqlite3Update()
1004 }else if( aXRef[i]<0 && i!=pTab->iPKey ){ in sqlite3Update()
1023 aXRef, 0); in sqlite3Update()
1039 sqlite3FkCheck(pParse, pTab, regOldRowid, 0, aXRef, chngKey); in sqlite3Update()
1083 sqlite3FkCheck(pParse, pTab, 0, regNewRowid, aXRef, chngKey); in sqlite3Update()
1097 sqlite3FkActions(pParse, pTab, pChanges, regOldRowid, aXRef, chngKey); in sqlite3Update()
1142 sqlite3DbFree(db, aXRef); /* Also frees aRegIdx[] and aToOpen[] */ in sqlite3Update()
1190 int *aXRef, /* Mapping from columns of pTab to entries in pChanges */ in updateVirtualTable() argument
1233 if( aXRef[iPk]>=0 ){ in updateVirtualTable()
1234 pRow = sqlite3ExprDup(db, pChanges->a[aXRef[iPk]].pExpr, 0); in updateVirtualTable()
1242 if( aXRef[i]>=0 ){ in updateVirtualTable()
1244 sqlite3ExprDup(db, pChanges->a[aXRef[i]].pExpr, 0) in updateVirtualTable()
1267 if( aXRef[i]>=0 ){ in updateVirtualTable()
1268 sqlite3ExprCode(pParse, pChanges->a[aXRef[i]].pExpr, regArg+2+i); in updateVirtualTable()