Lines Matching refs:iPKey
9922 int iPKey; /* If not negative, use aCol[iPKey] as the primary key */ member
71999 pExpr->iColumn = j==pTab->iPKey ? -1 : (i16)j;
72049 if( iCol==pTab->iPKey ){
72215 if( p->pTab->iPKey==iCol ){
75152 if( iCol<0 || iCol==pTab->iPKey ){
75735 assert( pTab->iPKey<0 || pExpr->iColumn!=pTab->iPKey );
79058 }else if( pTab->iPKey>=0 ){
79059 assert( pTab->iPKey<pTab->nCol );
79060 zCol = pTab->aCol[pTab->iPKey].zName;
79970 pTable->iPKey = -1;
80309 pTab->iPKey = iCol;
84031 if( idx==pTab->iPKey ){
85874 if( pParent->iPKey>=0 ){
85876 if( !sqlite3StrICmp(pParent->aCol[pParent->iPKey].zName, zKey) ) return 0;
86061 assert( aiCol[i]!=pTab->iPKey );
86062 if( pIdx->aiColumn[i]==pTab->iPKey ){
86176 if( pTab->iPKey==iCol ) iCol = -1;
86426 if( aiCol[i]==pTab->iPKey ){
86435 char *zCol = pTo->aCol[pIdx ? pIdx->aiColumn[i] : pTo->iPKey].zName;
86577 if( iChildKey==pTab->iPKey && chngRowid ) return 1;
86590 if( iKey==pTab->iPKey && chngRowid ) return 1;
87599 if( j==pTab->iPKey ){
87623 keyColumn = pTab->iPKey;
87812 if( i==pTab->iPKey ){
88051 if( i==pTab->iPKey ){
88204 if( idx==pTab->iPKey ){
88588 if( pDest->iPKey!=pSrc->iPKey ){
88649 if( (pDest->iPKey<0 && pDest->pIndex!=0) || destHasUniqueIdx ){
88670 if( pDest->iPKey>=0 ){
93425 if( iCol<0 ) iCol = pTab->iPKey;
93552 if( iCol<0 ) iCol = pTab->iPKey;
93625 if( iCol<0 ) iCol = pTab->iPKey;
93742 pTab->iPKey = -1;
95577 pTab->iPKey = -1;
98460 if( j==pTab->iPKey ){
98687 if( i==pTab->iPKey ){
98730 if( aXRef[i]<0 && i!=pTab->iPKey ){
98885 assert( pTab->iPKey<0 );
101986 if( iColumn==pIdx->pTable->iPKey ){
112710 iCol = pTab->iPKey;
112742 autoinc = pTab->iPKey==iCol && (pTab->tabFlags & TF_Autoincrement)!=0;