Searched refs:pSub (Results 1 – 1 of 1) sorted by relevance
1641 Select *pSub; /* The inner query or "subquery" */ in flattenSubquery() local1654 pSub = pSrc->a[iFrom].pSelect; in flattenSubquery()1655 assert( pSub!=0 ); in flattenSubquery()1658 pSubSrc = pSub->pSrc; in flattenSubquery()1661 if( (pSub->isDistinct || pSub->nLimit>=0) && (pSrc->nSrc>1 || isAgg) ){ in flattenSubquery()1665 if( p->pOrderBy && pSub->pOrderBy ) return 0; in flattenSubquery()1697 && pSub->pWhere!=0 ){ in flattenSubquery()1753 substExprList(p->pEList, iParent, pSub->pEList); in flattenSubquery()1762 substExprList(p->pGroupBy, iParent, pSub->pEList); in flattenSubquery()1763 substExpr(p->pHaving, iParent, pSub->pEList); in flattenSubquery()[all …]