Lines Matching refs:IdxConstraint
5951 typedef struct IdxConstraint IdxConstraint; typedef
5974 struct IdxConstraint { struct
5980 IdxConstraint *pNext; /* Next constraint in pEq or pRange list */ argument
5981 IdxConstraint *pLink; /* See above */ argument
5991 IdxConstraint *pOrder; /* ORDER BY columns */
5992 IdxConstraint *pEq; /* List of == constraints */
5993 IdxConstraint *pRange; /* List of < constraints */
6207 static IdxConstraint *idxNewConstraint(int *pRc, const char *zColl){ in idxNewConstraint()
6208 IdxConstraint *pNew; in idxNewConstraint()
6212 pNew = (IdxConstraint*)idxMalloc(pRc, sizeof(IdxConstraint) * nColl + 1); in idxNewConstraint()
6391 IdxConstraint *pNew; in expertBestIndex()
6414 IdxConstraint *pNew = idxNewConstraint(&rc, p->pTab->aCol[iCol].zColl); in expertBestIndex()
6736 IdxConstraint *pCons in idxAppendColDefn()
6774 IdxConstraint *pEq, /* List of == constraints */ in idxFindCompatible()
6775 IdxConstraint *pTail /* List of range constraints */ in idxFindCompatible()
6779 IdxConstraint *pIter; in idxFindCompatible()
6789 IdxConstraint *pT = pTail; in idxFindCompatible()
6840 IdxConstraint *pEq, in idxCreateFromCons()
6841 IdxConstraint *pTail in idxCreateFromCons()
6849 IdxConstraint *pCons; in idxCreateFromCons()
6898 static int idxFindConstraint(IdxConstraint *pList, IdxConstraint *p){ in idxFindConstraint()
6899 IdxConstraint *pCmp; in idxFindConstraint()
6909 IdxConstraint *pTail /* range/ORDER BY constraints for inclusion */ in idxCreateFromWhere()
6911 IdxConstraint *p1 = 0; in idxCreateFromWhere()
6912 IdxConstraint *pCon; in idxCreateFromWhere()
6962 static void idxConstraintFree(IdxConstraint *pConstraint){ in idxConstraintFree()
6963 IdxConstraint *pNext; in idxConstraintFree()
6964 IdxConstraint *p; in idxConstraintFree()