Skip to content

Commit 2de4707

Browse files
committed
2 parents 0b3442a + 7033f52 commit 2de4707

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/main/java/com/akiban/sql/parser/FromTable.java

+7
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ public String getCorrelationName() {
9696
return correlationName;
9797
}
9898

99+
/**
100+
* Set this table's correlation name.
101+
*/
102+
public void setCorrelationName(String correlationName) {
103+
this.correlationName = correlationName;
104+
}
105+
99106
/**
100107
* Convert this object to a String. See comments in QueryTreeNode.java
101108
* for how this should be done for tree printing.

src/main/java/com/akiban/sql/parser/ResultColumnList.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public ResultColumn getResultColumn(String columnName) {
197197
for (int index = 0; index < size; index++) {
198198
ResultColumn resultColumn = get(index);
199199

200-
if (columnName.equals(resultColumn.getName())) {
200+
if (columnName.equalsIgnoreCase(resultColumn.getName())) {
201201
return resultColumn;
202202
}
203203
}

0 commit comments

Comments
 (0)