Commit caaf9410 authored by Dave Cramer's avatar Dave Cramer

changed sort of column names to sort by attnum, not attname

parent ec1bee14
......@@ -2309,7 +2309,7 @@ public abstract class AbstractJdbc1DatabaseMetaData
if (columnNamePattern != null && !"".equals(columnNamePattern)) {
sql += " AND a.attname LIKE '"+escapeQuotes(columnNamePattern)+"' ";
}
sql += " ORDER BY nspname,relname,attname ";
sql += " ORDER BY nspname,relname,attnum ";
ResultSet rs = connection.createStatement().executeQuery(sql);
while (rs.next())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment