Lines Matching defs:aXRef
108209 int *aXRef, /* Mapping from columns of pTab to entries in pChanges */
108293 int *aXRef = 0; /* aXRef[i] is the index in pChanges->a[] of the
108295 ** aXRef[i]==-1 if the i-th column is not changed. */
108381 /* Allocate space for aXRef[], aRegIdx[], and aToOpen[].
108382 ** Initialize aXRef[] and aToOpen[] to their default values.
108384 aXRef = sqlite3DbMallocRaw(db, sizeof(int) * (pTab->nCol+nIdx) + nIdx+2 );
108385 if( aXRef==0 ) goto update_cleanup;
108386 aRegIdx = aXRef+pTab->nCol;
108390 for(i=0; i<pTab->nCol; i++) aXRef[i] = -1;
108416 aXRef[j] = i;
108440 aXRef[j] = -1;
108455 hasFK = sqlite3FkRequired(pParse, pTab, aXRef, chngKey);
108468 if( aXRef[pIdx->aiColumn[i]]>=0 ){
108487 updateVirtualTable(pParse, pTabList, pTab, pChanges, pRowidExpr, aXRef,
108695 j = aXRef[i];
108741 if( aXRef[i]<0 && i!=pTab->iPKey ){
108758 sqlite3FkCheck(pParse, pTab, regOldRowid, 0, aXRef, chngKey);
108781 sqlite3FkCheck(pParse, pTab, 0, regNewRowid, aXRef, chngKey);
108792 sqlite3FkActions(pParse, pTab, pChanges, regOldRowid, aXRef, chngKey);
108848 sqlite3DbFree(db, aXRef); /* Also frees aRegIdx[] and aToOpen[] */
108890 int *aXRef, /* Mapping from columns of pTab to entries in pChanges */
108916 if( aXRef[i]>=0 ){
108917 pExpr = sqlite3ExprDup(db, pChanges->a[aXRef[i]].pExpr, 0);