HHH-10341 - Fix Specification violation in Implementation of TupleElement

This commit is contained in:
Andrea Boriero 2016-06-14 18:33:52 +01:00
parent 57b954d476
commit 04f1fcc762
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 {