Home | History | Annotate | Download | only in orig

Lines Matching refs:SF_Distinct

16639 #define SF_Distinct       0x00001  /* Output should be DISTINCT */
27119 ((p->selFlags & SF_Distinct) ? " DISTINCT" : ""),
94779 if( p->selFlags & (SF_Distinct|SF_Aggregate) ){
94780 testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct );
94781 testcase( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate );
95319 testcase( pSelect->selFlags & SF_Distinct );
112852 if( pSelect->selFlags & SF_Distinct ){
118794 u32 selFlags, /* Flag parameters, such as SF_Distinct */
122140 if( pSub->selFlags & SF_Distinct ) return 0; /* Restriction (4) */
122149 if( pSub->pLimit && (p->selFlags & SF_Distinct)!=0 ){
122202 if( isAgg || (p->selFlags & SF_Distinct)!=0 || pSrc->nSrc!=1 ){
122206 testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct );
122207 testcase( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))==SF_Aggregate );
122210 if( (pSub1->selFlags & (SF_Distinct|SF_Aggregate))!=0 /* (17b) */
122459 pParent->selFlags |= pSub->selFlags & SF_Distinct;
123848 p->selFlags &= ~SF_Distinct;
124121 sDistinct.isTnct = (p->selFlags & SF_Distinct)!=0;
124155 if( (p->selFlags & (SF_Distinct|SF_Aggregate))==SF_Distinct
124158 p->selFlags &= ~SF_Distinct;
124160 /* Notice that even thought SF_Distinct has been cleared from p->selFlags,
124162 ** original setting of the SF_Distinct flag, not the current setting */
124214 if( p->selFlags & SF_Distinct ){
124443 (sDistinct.isTnct && (p->selFlags&SF_Distinct)==0) ?
140940 {yymsp[0].minor.yy4 = SF_Distinct;}
141251 if( yymsp[-2].minor.yy4==SF_Distinct && yylhsminor.yy314 ){