Browse Source

modify sqlTask (#3152)

pull/3/MERGE
iceblue510 4 years ago committed by GitHub
parent
commit
1f8851b906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTask.java

4
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/worker/task/sql/SqlTask.java

@ -364,7 +364,7 @@ public class SqlTask extends AbstractTask {
Connection connection){
if (resultSet != null){
try {
connection.close();
resultSet.close();
} catch (SQLException e) {
}
@ -372,7 +372,7 @@ public class SqlTask extends AbstractTask {
if (pstmt != null){
try {
connection.close();
pstmt.close();
} catch (SQLException e) {
}

Loading…
Cancel
Save