You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dolphinscheduler-task-plugin/dolphinscheduler-task-sql/src/main/java/org/apache/dolphinscheduler/plugin/task/sql/SqlTask.java
+6-16Lines changed: 6 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -179,7 +179,6 @@ public void executeFuncAndSql(List<SqlBinds> mainStatementsBinds,
179
179
List<SqlBinds> postStatementsBinds,
180
180
List<String> createFuncs) throwsException {
181
181
Connectionconnection = null;
182
-
ResultSetresultSet = null;
183
182
try {
184
183
185
184
// create connection
@@ -197,8 +196,7 @@ public void executeFuncAndSql(List<SqlBinds> mainStatementsBinds,
197
196
// decide whether to executeQuery or executeUpdate based on sqlType
198
197
if (sqlParameters.getSqlType() == SqlType.QUERY.ordinal()) {
199
198
// query statements need to be convert to JsonArray and inserted into Alert to send
0 commit comments