MCPcopy Create free account
hub / github.com/audacity/audacity / idxFindConstraint

Function idxFindConstraint

lib-src/sqlite/shell.c:9348–9354  ·  view source on GitHub ↗

** Return true if list pList (linked by IdxConstraint.pLink) contains ** a constraint compatible with *p. Otherwise return false. */

Source from the content-addressed store, hash-verified

9346** a constraint compatible with *p. Otherwise return false.
9347*/
9348static int idxFindConstraint(IdxConstraint *pList, IdxConstraint *p){
9349 IdxConstraint *pCmp;
9350 for(pCmp=pList; pCmp; pCmp=pCmp->pLink){
9351 if( p->iCol==pCmp->iCol ) return 1;
9352 }
9353 return 0;
9354}
9355
9356static int idxCreateFromWhere(
9357 sqlite3expert *p,

Callers 1

idxCreateFromWhereFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected