Lines Matching refs:aXRef
108256 int *aXRef, /* Mapping from columns of pTab to entries in pChanges */
108340 int *aXRef = 0; /* aXRef[i] is the index in pChanges->a[] of the
108431 aXRef = sqlite3DbMallocRaw(db, sizeof(int) * (pTab->nCol+nIdx) + nIdx+2 );
108432 if( aXRef==0 ) goto update_cleanup;
108433 aRegIdx = aXRef+pTab->nCol;
108437 for(i=0; i<pTab->nCol; i++) aXRef[i] = -1;
108463 aXRef[j] = i;
108487 aXRef[j] = -1;
108502 hasFK = sqlite3FkRequired(pParse, pTab, aXRef, chngKey);
108515 if( aXRef[pIdx->aiColumn[i]]>=0 ){
108534 updateVirtualTable(pParse, pTabList, pTab, pChanges, pRowidExpr, aXRef,
108742 j = aXRef[i];
108788 if( aXRef[i]<0 && i!=pTab->iPKey ){
108805 sqlite3FkCheck(pParse, pTab, regOldRowid, 0, aXRef, chngKey);
108828 sqlite3FkCheck(pParse, pTab, 0, regNewRowid, aXRef, chngKey);
108839 sqlite3FkActions(pParse, pTab, pChanges, regOldRowid, aXRef, chngKey);
108895 sqlite3DbFree(db, aXRef); /* Also frees aRegIdx[] and aToOpen[] */
108937 int *aXRef, /* Mapping from columns of pTab to entries in pChanges */
108963 if( aXRef[i]>=0 ){
108964 pExpr = sqlite3ExprDup(db, pChanges->a[aXRef[i]].pExpr, 0);