SF_Distinct 72086 third_party/sqlite/amalgamation/sqlite3.c if( p->selFlags & (SF_Distinct|SF_Aggregate) ){ SF_Distinct 72087 third_party/sqlite/amalgamation/sqlite3.c testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct ); SF_Distinct 72088 third_party/sqlite/amalgamation/sqlite3.c testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate ); SF_Distinct 86154 third_party/sqlite/amalgamation/sqlite3.c if( pSelect->selFlags & SF_Distinct ){ SF_Distinct 90002 third_party/sqlite/amalgamation/sqlite3.c pNew->selFlags = isDistinct ? SF_Distinct : 0; SF_Distinct 92640 third_party/sqlite/amalgamation/sqlite3.c if( pSub->selFlags & SF_Distinct ) return 0; /* Restriction (5) */ SF_Distinct 92644 third_party/sqlite/amalgamation/sqlite3.c if( (p->selFlags & SF_Distinct)!=0 && subqueryIsAgg ){ SF_Distinct 92652 third_party/sqlite/amalgamation/sqlite3.c if( pSub->pLimit && (p->selFlags & SF_Distinct)!=0 ){ SF_Distinct 92701 third_party/sqlite/amalgamation/sqlite3.c if( isAgg || (p->selFlags & SF_Distinct)!=0 || pSrc->nSrc!=1 ){ SF_Distinct 92705 third_party/sqlite/amalgamation/sqlite3.c testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct ); SF_Distinct 92706 third_party/sqlite/amalgamation/sqlite3.c testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate ); SF_Distinct 92707 third_party/sqlite/amalgamation/sqlite3.c if( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))!=0 SF_Distinct 92943 third_party/sqlite/amalgamation/sqlite3.c pParent->selFlags |= pSub->selFlags & SF_Distinct; SF_Distinct 93669 third_party/sqlite/amalgamation/sqlite3.c p->selFlags &= ~SF_Distinct; SF_Distinct 93745 third_party/sqlite/amalgamation/sqlite3.c isDistinct = (p->selFlags & SF_Distinct)!=0; SF_Distinct 93776 third_party/sqlite/amalgamation/sqlite3.c if( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct ){ SF_Distinct 93779 third_party/sqlite/amalgamation/sqlite3.c p->selFlags &= ~SF_Distinct; SF_Distinct 93827 third_party/sqlite/amalgamation/sqlite3.c if( p->selFlags & SF_Distinct ){ SF_Distinct 93991 third_party/sqlite/amalgamation/sqlite3.c isDistinct && !(p->selFlags&SF_Distinct)?"DISTINCT":"GROUP BY"); SF_Distinct 1349 third_party/sqlite/src/src/expr.c if( p->selFlags & (SF_Distinct|SF_Aggregate) ){ SF_Distinct 1350 third_party/sqlite/src/src/expr.c testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct ); SF_Distinct 1351 third_party/sqlite/src/src/expr.c testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate ); SF_Distinct 1671 third_party/sqlite/src/src/insert.c if( pSelect->selFlags & SF_Distinct ){ SF_Distinct 80 third_party/sqlite/src/src/select.c pNew->selFlags = isDistinct ? SF_Distinct : 0; SF_Distinct 2718 third_party/sqlite/src/src/select.c if( pSub->selFlags & SF_Distinct ) return 0; /* Restriction (5) */ SF_Distinct 2722 third_party/sqlite/src/src/select.c if( (p->selFlags & SF_Distinct)!=0 && subqueryIsAgg ){ SF_Distinct 2730 third_party/sqlite/src/src/select.c if( pSub->pLimit && (p->selFlags & SF_Distinct)!=0 ){ SF_Distinct 2779 third_party/sqlite/src/src/select.c if( isAgg || (p->selFlags & SF_Distinct)!=0 || pSrc->nSrc!=1 ){ SF_Distinct 2783 third_party/sqlite/src/src/select.c testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct ); SF_Distinct 2784 third_party/sqlite/src/src/select.c testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate ); SF_Distinct 2785 third_party/sqlite/src/src/select.c if( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))!=0 SF_Distinct 3021 third_party/sqlite/src/src/select.c pParent->selFlags |= pSub->selFlags & SF_Distinct; SF_Distinct 3747 third_party/sqlite/src/src/select.c p->selFlags &= ~SF_Distinct; SF_Distinct 3823 third_party/sqlite/src/src/select.c isDistinct = (p->selFlags & SF_Distinct)!=0; SF_Distinct 3854 third_party/sqlite/src/src/select.c if( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct ){ SF_Distinct 3857 third_party/sqlite/src/src/select.c p->selFlags &= ~SF_Distinct; SF_Distinct 3905 third_party/sqlite/src/src/select.c if( p->selFlags & SF_Distinct ){ SF_Distinct 4069 third_party/sqlite/src/src/select.c isDistinct && !(p->selFlags&SF_Distinct)?"DISTINCT":"GROUP BY");