Lines Matching refs:iDistinct
17880 int iDistinct; /* Ephemeral table used to enforce DISTINCT */ member
105340 pItem->iDistinct = pParse->nTab++;
105342 pItem->iDistinct = -1;
131174 int iDistinct = 0; /* To ensure unique results if UNION */
131218 iDistinct = pParse->nTab++;
131236 if( iDistinct ){
131237 p->addrOpenEphm[0] = sqlite3VdbeAddOp2(v, OP_OpenEphemeral, iDistinct, 0);
134225 if( pFunc->iDistinct>=0 ){
134231 pFunc->iDistinct = -1;
134234 sqlite3VdbeAddOp4(v, OP_OpenEphemeral, pFunc->iDistinct, 0, 0,
134309 if( pF->iDistinct>=0 ){
134315 codeDistinct(pParse, pF->iDistinct, addrNext, 1, regAgg);