MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / idxFindConstraint

Function idxFindConstraint

modules/dasSQLITE/sqlite/shell.c:11250–11256  ·  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

11248** a constraint compatible with *p. Otherwise return false.
11249*/
11250static int idxFindConstraint(IdxConstraint *pList, IdxConstraint *p){
11251 IdxConstraint *pCmp;
11252 for(pCmp=pList; pCmp; pCmp=pCmp->pLink){
11253 if( p->iCol==pCmp->iCol ) return 1;
11254 }
11255 return 0;
11256}
11257
11258static int idxCreateFromWhere(
11259 sqlite3expert *p,

Callers 1

idxCreateFromWhereFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected