Searched refs:IsPrimaryKeyIndex (Results 1 – 9 of 9) sorted by relevance
2322 int regCmp = (IsPrimaryKeyIndex(pIdx) ? regIdx : regR); in sqlite3GenerateConstraintChecks()2587 if( IsPrimaryKeyIndex(pIdx) && !HasRowid(pTab) ){ in sqlite3CompleteInsertion()2680 if( IsPrimaryKeyIndex(pIdx) && !HasRowid(pTab) ){ in sqlite3OpenTableAndIndices()3133 && IsPrimaryKeyIndex(pDestIdx) in xferOptimization()
1057 if( !HasRowid(pTab) && IsPrimaryKeyIndex(pIdx) ){ in analyzeOneTable()1746 if( !HasRowid(pIdx->pTable) && IsPrimaryKeyIndex(pIdx) ){
476 if( IsPrimaryKeyIndex(pIdx) && !HasRowid(pTab) ){ in sqlite3DeleteFrom()
239 if( IsPrimaryKeyIndex(pIdx) ){ in sqlite3FkLocateIndex()
160 if( !HasRowid(pItem->pTab) && IsPrimaryKeyIndex(pIdx) ){ in sqlite3WhereExplainOneScan()2372 && (HasRowid(pTab) || !IsPrimaryKeyIndex(pSubLoop->u.btree.pIndex)) in sqlite3WhereCodeOneLoopStart()
1082 for(p=pTab->pIndex; p && !IsPrimaryKeyIndex(p); p=p->pNext){} in sqlite3PrimaryKeyIndex()2437 if( IsPrimaryKeyIndex(pIdx) ) continue; in convertToWithoutRowidTable()5363 IsPrimaryKeyIndex(pIdx) ? SQLITE_CONSTRAINT_PRIMARYKEY in sqlite3UniqueConstraint()
2656 #define IsPrimaryKeyIndex(X) ((X)->idxType==SQLITE_IDXTYPE_PRIMARYKEY) macro
6058 if( !HasRowid(pTab) && IsPrimaryKeyIndex(pIx) in sqlite3WhereBegin()
6392 int bCover = (pIdx!=0 && (HasRowid(pTab) || !IsPrimaryKeyIndex(pIdx))); in explainSimpleCount()