Lines Matching refs:iPKey

17471   i16 iPKey;           /* If not negative, use aCol[iPKey] as the rowid */  member
84639 if( iIdx==p->pTab->iPKey ){
84724 if( iIdx==p->pTab->iPKey ){
84746 if( iIdx==p->pTab->iPKey ){
97875 pExpr->iColumn = j==pTab->iPKey ? -1 : (i16)j;
97929 if( iCol==pTab->iPKey ){
98179 if( p->y.pTab->iPKey==iCol ){
103025 if( iCol<0 || iCol==pTab->iPKey ){
103842 assert( pTab->iPKey<0 || iCol!=pTab->iPKey );
106832 sCtx.iCol = ((iCol==pTab->iPKey) ? -1 : iCol);
106870 renameTokenFind(&sParse, &sCtx, (void*)&sParse.pNewTable->iPKey);
108250 pStat1->iPKey = -1;
109952 }else if( pTab->iPKey>=0 ){
109953 assert( pTab->iPKey<pTab->nCol );
109954 zCol = pTab->aCol[pTab->iPKey].zName;
111154 pTable->iPKey = -1;
111611 sqlite3RenameTokenRemap(pParse, &pTab->iPKey, pCExpr);
111613 pTab->iPKey = iCol;
111930 if( pTab->iPKey<0 ) wTable++;
112086 if( pTab->iPKey>=0 ){
112089 sqlite3TokenInit(&ipkToken, pTab->aCol[pTab->iPKey].zName);
112094 sqlite3RenameTokenRemap(pParse, pList->a[0].pExpr, &pTab->iPKey);
112098 pTab->iPKey = -1;
112332 || p->iPKey>=0 || sqlite3PrimaryKeyIndex(p)!=0 );
112334 || (p->iPKey<0 && sqlite3PrimaryKeyIndex(p)==0) );
113801 j = pTab->iPKey;
113863 || pTab->iPKey<0 || sqlite3TableColumnToIndex(pIndex, pTab->iPKey)>=0 );
113868 if( j==pTab->iPKey ) continue;
114880 if( pTab->iPKey>=0 ){
114882 pTab->aCol[pTab->iPKey].zName);
118914 if( pParent->iPKey>=0 ){
118916 if( !sqlite3StrICmp(pParent->aCol[pParent->iPKey].zName, zKey) ) return 0;
119118 assert( aiCol[i]!=pTab->iPKey );
119119 if( pIdx->aiColumn[i]==pTab->iPKey ){
119182 if( iCol>=0 && iCol!=pTab->iPKey ){
119490 if( iChildKey==pTab->iPKey && bChngRowid ) return 1;
119518 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){
119651 if( aiCol[i]==pTab->iPKey ){
119661 char *zCol = pTo->aCol[pIdx ? pIdx->aiColumn[i] : pTo->iPKey].zName;
119928 assert( pIdx!=0 || (pTab->iPKey>=0 && pTab->iPKey<pTab->nCol) );
119931 pTab->aCol[pIdx ? pIdx->aiColumn[i] : pTab->iPKey].zName);
120946 if( j==pTab->iPKey ){
121065 ipkColumn = pTab->iPKey;
121196 if( i==pTab->iPKey ){
121717 if( i==pTab->iPKey ){
122121 }else if( iField==XN_ROWID || iField==pTab->iPKey ){
122712 if( pDest->iPKey>=0 ) onError = pDest->keyConf;
122779 if( pDest->iPKey!=pSrc->iPKey ){
122903 (pDest->iPKey<0 && pDest->pIndex!=0) /* (1) */
122932 if( pDest->iPKey>=0 ){
126986 if( j==pTab->iPKey ) continue;
130569 if( iCol<0 ) iCol = pTab->iPKey;
130742 if( iCol<0 ) iCol = pTab->iPKey;
130832 if( iCol<0 ) iCol = pTab->iPKey;
130963 pTab->iPKey = -1;
133624 pTab->iPKey = -1;
133750 pTab->iPKey = -1;
137354 if( j==pTab->iPKey ){
137748 if( i==pTab->iPKey ){
137813 }else if( aXRef[i]<0 && i!=pTab->iPKey ){
140011 pTab->iPKey = -1;
145200 }else if( iColumn==pIdx->pTable->iPKey ){
148690 if( iColumn==pIndex->pTable->iPKey ) iColumn = XN_ROWID;
163863 iCol = pTab->iPKey;
163887 autoinc = pTab->iPKey==iCol && (pTab->tabFlags & TF_Autoincrement)!=0;