Home
last modified time | relevance | path

Searched refs:IsPrimaryKeyIndex (Results 1 – 9 of 9) sorted by relevance

/sqlite-3.40.0/src/
H A Dinsert.c2322 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()
H A Danalyze.c1057 if( !HasRowid(pTab) && IsPrimaryKeyIndex(pIdx) ){ in analyzeOneTable()
1746 if( !HasRowid(pIdx->pTable) && IsPrimaryKeyIndex(pIdx) ){
H A Ddelete.c476 if( IsPrimaryKeyIndex(pIdx) && !HasRowid(pTab) ){ in sqlite3DeleteFrom()
H A Dfkey.c239 if( IsPrimaryKeyIndex(pIdx) ){ in sqlite3FkLocateIndex()
H A Dwherecode.c160 if( !HasRowid(pItem->pTab) && IsPrimaryKeyIndex(pIdx) ){ in sqlite3WhereExplainOneScan()
2372 && (HasRowid(pTab) || !IsPrimaryKeyIndex(pSubLoop->u.btree.pIndex)) in sqlite3WhereCodeOneLoopStart()
H A Dbuild.c1082 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()
H A DsqliteInt.h2656 #define IsPrimaryKeyIndex(X) ((X)->idxType==SQLITE_IDXTYPE_PRIMARYKEY) macro
H A Dwhere.c6058 if( !HasRowid(pTab) && IsPrimaryKeyIndex(pIx) in sqlite3WhereBegin()
H A Dselect.c6392 int bCover = (pIdx!=0 && (HasRowid(pTab) || !IsPrimaryKeyIndex(pIdx))); in explainSimpleCount()