Skip to content

Commit db38827

Browse files
committed
fixed comments and leaked resultsets
1 parent 72956ed commit db38827

File tree

4 files changed

+245
-270
lines changed

4 files changed

+245
-270
lines changed

src/test/java/com/microsoft/sqlserver/jdbc/callablestatement/CallableMixedTest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public void datatypestest() throws Exception {
5252

5353
// Test OUT param re-registration
5454
cstmt.registerOutParameter((int) 5, java.sql.Types.BINARY);
55-
5655
cstmt.registerOutParameter((int) 5, (int) 5);
5756
cstmt.setObject((int) 4, Short.valueOf("-5372"), (int) 5);
5857

@@ -63,9 +62,6 @@ public void datatypestest() throws Exception {
6362
assertEquals(-5372, cstmt.getInt((int) 5));
6463
}
6564

66-
// do nothing and reexecute
67-
try (ResultSet rs = cstmt.executeQuery()) {}
68-
6965
// get the param without getting the resultset
7066
try (ResultSet rs = cstmt.executeQuery()) {
7167
assertEquals(-2147483648, cstmt.getInt((int) 1));

0 commit comments

Comments
 (0)