HHH-10341 - Fix Specification violation in Implementation of TupleElement

(cherry picked from commit 04f1fcc762)
This commit is contained in:
Andrea Boriero 2016-06-14 18:33:52 +01:00 committed by Gail Badner
parent 7764358c7f
commit 80e591f064
1 changed files with 1 additions and 2 deletions

View File

@ -393,8 +393,7 @@ public class SelectClause extends SelectExpressionList {
if ( aggregatedSelectExpression == null ) {
aliases = new String[selectExpressions.length];
for ( int i = 0; i < selectExpressions.length; i++ ) {
String alias = selectExpressions[i].getAlias();
aliases[i] = alias == null ? Integer.toString( i ) : alias;
aliases[i] = selectExpressions[i].getAlias();
}
}
else {