// This change puts a null check into every call, but is printing additional
// expressions in a meaningfull order worth it?
additionalExpression = (additionalExpression == null) ? theExpression : additionalExpression.and(theExpression);
INTERNAL:
Normalize all subselect expressions found in the course of normalizing the
enclosing query.
This method allows one to completely normalize the parent statement first
(which should treat its sub selects as black boxes), and then normalize the
subselects (which require full knowledge of the enclosing statement).
This should make things clearer too,
Assumes encounteredSubSelectExpressions() true.
For CR#4223.
for (Enumeration enumtr = subSelectExpressions.elements(); enumtr.hasMoreElements();) {
SubSelectExpression next = (SubSelectExpression)enumtr.nextElement();
next.normalizeSubSelect(this, clonedExpressions);
}