Home | History | Annotate | Download | only in amalgamation

Lines Matching refs:aConstraint

5169 ** ^(The aConstraint[] array records WHERE clause constraints of the form:
5174 ** stored in aConstraint[].op using one of the
5177 ** aConstraint[].iColumn.)^ ^(aConstraint[].usable is TRUE if the
5184 ** ^The aConstraint[] array only reports WHERE clause terms that are
5192 ** the right-hand side of the corresponding aConstraint[] is evaluated
5213 int nConstraint; /* Number of entries in aConstraint */
5219 } *aConstraint; /* Table of WHERE clause constraints */
5256 ** [sqlite3_index_info].aConstraint[].op field. Each value represents
99437 p->aConstraint[i].iColumn,
99438 p->aConstraint[i].iTermOffset,
99439 p->aConstraint[i].op,
99440 p->aConstraint[i].usable);
99877 *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint = pIdxCons;
99949 if( !p->aConstraint[i].usable && p->aConstraintUsage[i].argvIndex>0 ){
100026 /* Set the aConstraint[].usable fields and initialize all
100029 ** aConstraint[].usable is true for constraints where the right-hand
100046 pIdxCons = *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint;
100072 pIdxCons = *(struct sqlite3_index_constraint**)&pIdxInfo->aConstraint;
101515 const struct sqlite3_index_constraint *aConstraint =
101516 pVtabIdx->aConstraint;
101523 int iTerm = aConstraint[k].iTermOffset;
101537 int iTerm = aConstraint[j].iTermOffset;
114304 struct sqlite3_index_constraint *pCons = &pInfo->aConstraint[i];
117100 if( pInfo->aConstraint[i].usable && pInfo->aConstraint[i].iColumn==0 ){
117101 int op = pInfo->aConstraint[i].op;
124662 int nConstraint; /* Number of entries in aConstraint */
124663 RtreeConstraint *aConstraint; /* Search constraints. */
125266 ** Free the RtreeCursor.aConstraint[] array and its contents.
125269 if( pCsr->aConstraint ){
125272 sqlite3_rtree_geometry *pGeom = pCsr->aConstraint[i].pGeom;
125278 sqlite3_free(pCsr->aConstraint);
125279 pCsr->aConstraint = 0;
125333 ** (excluded) by the constraints in the pCursor->aConstraint[]
125347 RtreeConstraint *p = &pCursor->aConstraint[ii];
125384 ** pCursor->aConstraint[] array. If so, set *pbEof to true before
125400 RtreeConstraint *p = &pCursor->aConstraint[ii];
125708 /* Normal case - r-tree scan. Set up the RtreeCursor.aConstraint array
125712 pCsr->aConstraint = sqlite3_malloc(sizeof(RtreeConstraint)*argc);
125714 if( !pCsr->aConstraint ){
125717 memset(pCsr->aConstraint, 0, sizeof(RtreeConstraint)*argc);
125720 RtreeConstraint *p = &pCsr->aConstraint[ii];
125812 struct sqlite3_index_constraint *p = &pIdxInfo->aConstraint[ii];