Commit 83d4a319 authored by gmantele's avatar gmantele
Browse files

[TAP] Little correction of the previous commit: ORDER BY indices were wrong.

Schema were still ordered by schema_name instead of schema_index when this
latter exists.
parent 26cee66c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -901,7 +901,7 @@ public class JDBCConnection implements DBConnection {
			}
			sqlBuf.append(" FROM ").append(translator.getTableName(tableDef, supportsSchema));
			if (hasSchemaIndex)
				sqlBuf.append(" ORDER BY 1,4,2");
				sqlBuf.append(" ORDER BY 4");
			else
				sqlBuf.append(" ORDER BY 1");