Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -901,7 +901,7 @@ public class JDBCConnection implements DBConnection { ...@@ -901,7 +901,7 @@ public class JDBCConnection implements DBConnection {
} }
sqlBuf.append(" FROM ").append(translator.getTableName(tableDef, supportsSchema)); sqlBuf.append(" FROM ").append(translator.getTableName(tableDef, supportsSchema));
if (hasSchemaIndex) if (hasSchemaIndex)
sqlBuf.append(" ORDER BY 1,4,2"); sqlBuf.append(" ORDER BY 4");
else else
sqlBuf.append(" ORDER BY 1"); sqlBuf.append(" ORDER BY 1");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment