Lines Matching refs:iPKey
216 if( pParent->iPKey>=0 ){ in sqlite3FkLocateIndex()
218 if( !sqlite3StrICmp(pParent->aCol[pParent->iPKey].zCnName, zKey) ){ in sqlite3FkLocateIndex()
421 assert( aiCol[i]!=pTab->iPKey ); in fkLookupParent()
422 if( pIdx->aiColumn[i]==pTab->iPKey ){ in fkLookupParent()
484 if( iCol>=0 && iCol!=pTab->iPKey ){ in exprTableRegister()
808 if( iChildKey==pTab->iPKey && bChngRowid ) return 1; in fkChildIsModified()
836 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){ in fkParentIsModified()
970 if( aiCol[i]==pTab->iPKey ){ in sqlite3FkCheck()
980 char *zCol = pTo->aCol[pIdx ? pIdx->aiColumn[i] : pTo->iPKey].zCnName; in sqlite3FkCheck()
1250 assert( pIdx!=0 || (pTab->iPKey>=0 && pTab->iPKey<pTab->nCol) ); in fkActionTrigger()
1253 pTab->aCol[pIdx ? pIdx->aiColumn[i] : pTab->iPKey].zCnName); in fkActionTrigger()