SF_Distinct 72571 sqlite3/libsqlite/sqlite3.c if( p->selFlags & (SF_Distinct|SF_Aggregate) ){ SF_Distinct 72572 sqlite3/libsqlite/sqlite3.c testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct ); SF_Distinct 72573 sqlite3/libsqlite/sqlite3.c testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate ); SF_Distinct 86688 sqlite3/libsqlite/sqlite3.c if( pSelect->selFlags & SF_Distinct ){ SF_Distinct 90550 sqlite3/libsqlite/sqlite3.c pNew->selFlags = isDistinct ? SF_Distinct : 0; SF_Distinct 93188 sqlite3/libsqlite/sqlite3.c if( pSub->selFlags & SF_Distinct ) return 0; /* Restriction (5) */ SF_Distinct 93192 sqlite3/libsqlite/sqlite3.c if( (p->selFlags & SF_Distinct)!=0 && subqueryIsAgg ){ SF_Distinct 93200 sqlite3/libsqlite/sqlite3.c if( pSub->pLimit && (p->selFlags & SF_Distinct)!=0 ){ SF_Distinct 93249 sqlite3/libsqlite/sqlite3.c if( isAgg || (p->selFlags & SF_Distinct)!=0 || pSrc->nSrc!=1 ){ SF_Distinct 93253 sqlite3/libsqlite/sqlite3.c testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct ); SF_Distinct 93254 sqlite3/libsqlite/sqlite3.c testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate ); SF_Distinct 93255 sqlite3/libsqlite/sqlite3.c if( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))!=0 SF_Distinct 93491 sqlite3/libsqlite/sqlite3.c pParent->selFlags |= pSub->selFlags & SF_Distinct; SF_Distinct 94217 sqlite3/libsqlite/sqlite3.c p->selFlags &= ~SF_Distinct; SF_Distinct 94293 sqlite3/libsqlite/sqlite3.c isDistinct = (p->selFlags & SF_Distinct)!=0; SF_Distinct 94324 sqlite3/libsqlite/sqlite3.c if( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct ){ SF_Distinct 94327 sqlite3/libsqlite/sqlite3.c p->selFlags &= ~SF_Distinct; SF_Distinct 94375 sqlite3/libsqlite/sqlite3.c if( p->selFlags & SF_Distinct ){ SF_Distinct 94539 sqlite3/libsqlite/sqlite3.c isDistinct && !(p->selFlags&SF_Distinct)?"DISTINCT":"GROUP BY");