Skip to content

Commit 7033f52

Browse files
committed
Ignore case when finding column by name.
1 parent d9ae70e commit 7033f52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)