Lines Matching refs:iDistinct
17633 int iDistinct; /* Ephemeral table used to enforce DISTINCT */ member
107845 pItem->iDistinct = pParse->nTab++;
107847 pItem->iDistinct = -1;
135720 int iDistinct = 0; /* To ensure unique results if UNION */
135764 iDistinct = pParse->nTab++;
135782 if( iDistinct ){
135783 p->addrOpenEphm[0] = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, iDistinct, 0);
139167 if( pFunc->iDistinct>=0 ){
139173 pFunc->iDistinct = -1;
139177 pFunc->iDistinct, 0, 0, (char*)pKeyInfo, P4_KEYINFO);
139264 if( pF->iDistinct>=0 && pList ){
139268 pF->iDistinct = codeDistinct(pParse, eDistinctType,
139269 pF->iDistinct, addrNext, pList, regAgg);
140350 && pAggInfo->aFunc[0].iDistinct>=0
140582 fixDistinctOpenEph(pParse, eDist, pF->iDistinct, pF->iDistAddr);
140673 }else if( pAggInfo->nFunc==1 && pAggInfo->aFunc[0].iDistinct>=0 ){
140705 fixDistinctOpenEph(pParse, eDist, pF->iDistinct, pF->iDistAddr);