Lines Matching refs:aConstraint
5805 ** ^(The aConstraint[] array records WHERE clause constraints of the form:
5810 ** stored in aConstraint[].op using one of the
5813 ** aConstraint[].iColumn.)^ ^(aConstraint[].usable is TRUE if the
5820 ** ^The aConstraint[] array only reports WHERE clause terms that are
5828 ** the right-hand side of the corresponding aConstraint[] is evaluated
5879 int nConstraint; /* Number of entries in aConstraint */
5885 } *aConstraint; /* Table of WHERE clause constraints */
5916 ** [sqlite3_index_info].aConstraint[].op field. Each value represents
121914 p->aConstraint[i].iColumn,
121915 p->aConstraint[i].iTermOffset,
121916 p->aConstraint[i].op,
121917 p->aConstraint[i].usable);
122249 *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint = pIdxCons;
122328 if( !p->aConstraint[i].usable && p->aConstraintUsage[i].argvIndex>0 ){
124199 pIdxCons = *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint;
124240 pIdxCons = *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint;
137412 struct sqlite3_index_constraint *pCons = &pInfo->aConstraint[i];
141953 if( pInfo->aConstraint[i].usable ){
141954 int op = pInfo->aConstraint[i].op;
141955 int iCol = pInfo->aConstraint[i].iColumn;
145671 if( pInfo->aConstraint[i].usable
145672 && pInfo->aConstraint[i].iColumn==0
145673 && pInfo->aConstraint[i].op==SQLITE_INDEX_CONSTRAINT_EQ
154266 int nConstraint; /* Number of entries in aConstraint */
154267 RtreeConstraint *aConstraint; /* Search constraints. */
154903 ** Free the RtreeCursor.aConstraint[] array and its contents.
154906 if( pCsr->aConstraint ){
154909 sqlite3_rtree_query_info *pInfo = pCsr->aConstraint[i].pInfo;
154915 sqlite3_free(pCsr->aConstraint);
154916 pCsr->aConstraint = 0;
155378 RtreeConstraint *pConstraint = pCur->aConstraint + ii;
155601 /* Normal case - r-tree scan. Set up the RtreeCursor.aConstraint array
155606 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
155608 if( !pCsr->aConstraint ){
155611 memset(pCsr->aConstraint, 0, sizeof(RtreeConstraint)*argc);
155616 RtreeConstraint *p = &pCsr->aConstraint[ii];
155724 if( pIdxInfo->aConstraint[ii].op==SQLITE_INDEX_CONSTRAINT_MATCH ){
155731 struct sqlite3_index_constraint *p = &pIdxInfo->aConstraint[ii];
163053 if( pIdxInfo->aConstraint[i].usable==0 ) continue;
163054 if( pIdxInfo->aConstraint[i].op!=SQLITE_INDEX_CONSTRAINT_EQ ) continue;
163055 if( pIdxInfo->aConstraint[i].iColumn!=10 ) continue;
165371 pConstraint = pIdxInfo->aConstraint;
178714 int iConsIndex; /* Index in pInfo->aConstraint[] */
178715 } aConstraint[] = {
178734 struct sqlite3_index_constraint *p = &pInfo->aConstraint[i];
178736 for(j=0; j<sizeof(aConstraint)/sizeof(aConstraint[0]); j++){
178737 struct Constraint *pC = &aConstraint[j];
178783 for(i=0; i<sizeof(aConstraint)/sizeof(aConstraint[0]); i++){
178784 struct Constraint *pC = &aConstraint[i];