Fixed bug where first row of query result is skipped, added jar file to git.
This commit is contained in:
parent
59ad51b686
commit
d3debae84d
Binary file not shown.
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue