Fixed bug where first row of query result is skipped, added jar file to git.

This commit is contained in:
Andrew Lalis 2019-03-03 14:12:30 +01:00 committed by andrewlalis
parent 59ad51b686
commit d3debae84d
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -169,7 +169,7 @@ public class QueryAction extends ExecutionAction {
} }
sb.append(")\n\tValues:\n"); sb.append(")\n\tValues:\n");
while (this.resultSet.next()) { do {
sb.append("\t("); sb.append("\t(");
for (int i = 0; i < columnCount; i++) { for (int i = 0; i < columnCount; i++) {
sb.append(this.resultSet.getString(i + 1)); sb.append(this.resultSet.getString(i + 1));
@ -178,7 +178,7 @@ public class QueryAction extends ExecutionAction {
} }
} }
sb.append(")\n"); sb.append(")\n");
} } while (this.resultSet.next());
return sb.toString(); return sb.toString();