Lines Matching refs:aConstraint

7887 ** ^(The aConstraint[] array records WHERE clause constraints of the form:
7892 ** stored in aConstraint[].op using one of the
7895 ** aConstraint[].iColumn.)^ ^(aConstraint[].usable is TRUE if the
7902 ** ^The aConstraint[] array only reports WHERE clause terms that are
7921 ** the right-hand side of the corresponding aConstraint[] is evaluated
7980 int nConstraint; /* Number of entries in aConstraint */
7986 } *aConstraint; /* Table of WHERE clause constraints */
8023 ** [sqlite3_index_info].aConstraint[].op field. Each value represents
10355 ** an index into the aConstraint[] array belonging to the sqlite3_index_info
97880 for(i=0, p=pIdxInfo->aConstraint; i<pIdxInfo->nConstraint; i++, p++){
129935 pConstraint = pIdxInfo->aConstraint;
148965 p->aConstraint[i].iColumn,
148966 p->aConstraint[i].iTermOffset,
148967 p->aConstraint[i].op,
148968 p->aConstraint[i].usable);
149309 pIdxInfo->aConstraint = pIdxCons;
151537 pIdxCons = *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint;
151577 pIdxCons = *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint;
151667 ** sequence associated with element iCons of the sqlite3_index_info.aConstraint
151676 int iTerm = pIdxInfo->aConstraint[iCons].iTermOffset;
151786 pWC->a[p->aConstraint[i].iTermOffset].prereqRight & ~mPrereq
171636 struct sqlite3_index_constraint *pCons = &pInfo->aConstraint[i];
176278 if( pInfo->aConstraint[i].usable ){
176279 int op = pInfo->aConstraint[i].op;
176280 int iCol = pInfo->aConstraint[i].iColumn;
180008 if( pInfo->aConstraint[i].usable
180009 && pInfo->aConstraint[i].iColumn==0
180010 && pInfo->aConstraint[i].op==SQLITE_INDEX_CONSTRAINT_EQ
190917 pConstraint = pIdxInfo->aConstraint;
191462 int nConstraint; /* Number of entries in aConstraint */
191463 RtreeConstraint *aConstraint; /* Search constraints. */
192288 if( pCsr->aConstraint ){
192291 sqlite3_rtree_query_info *pInfo = pCsr->aConstraint[i].pInfo;
192297 sqlite3_free(pCsr->aConstraint);
192298 pCsr->aConstraint = 0;
192813 RtreeConstraint *pConstraint = pCur->aConstraint + ii;
193058 /* Normal case - r-tree scan. Set up the RtreeCursor.aConstraint array
193063 pCsr->aConstraint = sqlite3_malloc64(sizeof(RtreeConstraint)*argc);
193065 if( !pCsr->aConstraint ){
193068 memset(pCsr->aConstraint, 0, sizeof(RtreeConstraint)*argc);
193073 RtreeConstraint *p = &pCsr->aConstraint[ii];
193178 if( pIdxInfo->aConstraint[ii].op==SQLITE_INDEX_CONSTRAINT_MATCH ){
193185 struct sqlite3_index_constraint *p = &pIdxInfo->aConstraint[ii];
196943 /* Normal case - r-tree scan. Set up the RtreeCursor.aConstraint array
196955 pCsr->aConstraint = p = sqlite3_malloc(sizeof(RtreeConstraint)*4);
196960 memset(pCsr->aConstraint, 0, sizeof(RtreeConstraint)*4);
197043 struct sqlite3_index_constraint *p = &pIdxInfo->aConstraint[ii];
204516 if( pIdxInfo->aConstraint[i].op!=SQLITE_INDEX_CONSTRAINT_EQ ) continue;
204517 if( pIdxInfo->aConstraint[i].usable==0 ){
204521 switch( pIdxInfo->aConstraint[i].iColumn ){
205273 struct sqlite3_index_constraint *p = &pIdxInfo->aConstraint[i];
205294 struct sqlite3_index_constraint *p = &pIdxInfo->aConstraint[i];
227100 struct sqlite3_index_constraint *p = &pInfo->aConstraint[i];
227146 struct sqlite3_index_constraint *p = &pInfo->aConstraint[i];
233419 struct sqlite3_index_constraint *p = &pInfo->aConstraint[i];