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