We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a28fec3 + 2452049 commit fe2b6e2Copy full SHA for fe2b6e2
1 file changed
selekt-java/src/jmh/java/com/bloomberg/selekt/database/benchmarks/JDBCBenchmark.java
@@ -234,10 +234,10 @@ public void selektSelect() throws IOException {
234
public void xerialSelect() throws SQLException {
235
for (int i = 0; i < batchSize; i++) {
236
xerialSelectStatement.setString(1, batchNames[i]);
237
- try (ResultSet rs = xerialSelectStatement.executeQuery()) {
238
- if (rs.next()) {
239
- rs.getLong("id");
240
- rs.getInt("value");
+ try (ResultSet results = xerialSelectStatement.executeQuery()) {
+ if (results.next()) {
+ results.getLong("id");
+ results.getInt("value");
241
}
242
243
0 commit comments