Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dwhere.c92 static int getMask(ExprMaskSet *pMaskSet, int iCursor){ in getMask() argument
94 for(i=0; i<pMaskSet->n; i++){ in getMask()
95 if( pMaskSet->ix[i]==iCursor ) return 1<<i; in getMask()
97 if( i==pMaskSet->n && i<ARRAYSIZE(pMaskSet->ix) ){ in getMask()
98 pMaskSet->n++; in getMask()
99 pMaskSet->ix[i] = iCursor; in getMask()
122 static int exprTableUsage(ExprMaskSet *pMaskSet, Expr *p){ in exprTableUsage() argument
126 mask = getMask(pMaskSet, p->iTable); in exprTableUsage()
131 mask = exprTableUsage(pMaskSet, p->pRight); in exprTableUsage()
134 mask |= exprTableUsage(pMaskSet, p->pLeft); in exprTableUsage()
[all …]