Commits on April 25, 2009
Commits1 commit
0Author
1Committer
0Reviewer
0Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| CommitterBackported | Fix the handling of sub-SELECTs appearing in the arguments of an outer-level aggregate function. By definition, such a sub-SELECT cannot reference any variables of query levels between itself and the aggregate's semantic level (else the aggregate would've been assigned to that lower level instead). So the correct, most efficient implementation is to treat the sub-SELECT as being a sub-select of that outer query level, not the level the aggregate syntactically appears in. Not doing so also confuses the heck out of our parameter-passing logic, as illustrated in bug report from Daniel Grace. | master8.4beta2REL_19_STABLE8.4beta2REL_18_STABLE8.4beta2REL_17_STABLE8.4beta2REL_16_STABLE8.4beta2REL_15_STABLE8.4beta2REL_14_STABLE8.4beta2REL_13_STABLE8.4beta2+21 more | Apr 25, 2009 |