This commit is contained in:
zyyang 2020-11-05 13:58:28 +08:00
parent c62dec736a
commit ce2287ef7f
1 changed files with 9 additions and 0 deletions

View File

@ -224,6 +224,15 @@ public class TSDBDriverTest {
}
} catch (SQLException e) {
e.printStackTrace();
} finally {
try {
if (statement != null)
statement.close();
if (conn != null)
conn.close();
} catch (SQLException e) {
e.printStackTrace();
}
}
}
}