Searched refs:SF_Distinct (Results 1 – 1 of 1) sorted by relevance
19990 #define SF_Distinct 0x0000001 /* Output should be DISTINCT */ macro33436 ((p->selFlags & SF_Distinct) ? " DISTINCT" : ""), in sqlite3TreeViewSelect()111534 if( eDistinct==SF_Distinct ) ExprSetProperty(pNew, EP_Distinct);113337 if( p->selFlags & (SF_Distinct|SF_Aggregate) ){113338 testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct );113339 testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate );113971 testcase( pSelect->selFlags & SF_Distinct );137886 if( pSelect->selFlags & SF_Distinct ){149271 if( pSub->selFlags & SF_Distinct ) return 0; /* Restriction (4) */149280 if( pSub->pLimit && (p->selFlags & SF_Distinct)!=0 ){[all …]