Searched refs:WHERE_DISTINCTBY (Results 1 – 3 of 3) sorted by relevance
1269 if( (pWInfo->wctrlFlags & WHERE_DISTINCTBY) ){ in allocateIndexInfo()4434 && ((wctrlFlags&(WHERE_DISTINCTBY|WHERE_SORTBYGROUP))!=WHERE_DISTINCTBY) in wherePathSatisfiesOrderBy()4439 }else if( wctrlFlags & WHERE_DISTINCTBY ){ in wherePathSatisfiesOrderBy()4586 testcase( wctrlFlags & WHERE_DISTINCTBY ); in wherePathSatisfiesOrderBy()4588 if( (wctrlFlags & (WHERE_GROUPBY|WHERE_DISTINCTBY))==0 ) bOnce = 0; in wherePathSatisfiesOrderBy()4603 if( wctrlFlags & WHERE_DISTINCTBY ){ in wherePathSatisfiesOrderBy()4704 assert( pWInfo->wctrlFlags & (WHERE_GROUPBY|WHERE_DISTINCTBY) ); in sqlite3WhereIsSorted()5099 && (pWInfo->wctrlFlags & WHERE_DISTINCTBY)==0 in wherePathSolver()5105 WHERE_DISTINCTBY, nLoop-1, pFrom->aLoop[nLoop-1], ¬Used); in wherePathSolver()5113 if( pWInfo->wctrlFlags & WHERE_DISTINCTBY ){ in wherePathSolver()[all …]
3206 #define WHERE_DISTINCTBY 0x0080 /* pOrderby is really a DISTINCT clause */ macro
7523 p, (sDistinct.isTnct==2 ? WHERE_DISTINCTBY : WHERE_GROUPBY) in sqlite3Select()