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.
1 parent 93c2390 commit 31f38fcCopy full SHA for 31f38fc
sqle/server/sqled.go
@@ -786,15 +786,15 @@ ExecSQLs:
786
TaskId: rollbackSQL.TaskId,
787
Content: node.Text,
788
}, ExecuteSQLId: rollbackSQL.ExecuteSQLId}
789
- _, execErr := a.plugin.Exec(context.TODO(), node.Text)
+ _, execErr = a.plugin.Exec(context.TODO(), node.Text)
790
if execErr != nil {
791
currentSQL.ExecStatus = model.SQLExecuteStatusFailed
792
currentSQL.ExecResult = execErr.Error()
793
} else {
794
currentSQL.ExecStatus = model.SQLExecuteStatusSucceeded
795
currentSQL.ExecResult = model.TaskExecResultOK
796
}
797
- if execErr := st.Save(currentSQL); execErr != nil {
+ if execErr = st.Save(currentSQL); execErr != nil {
798
break ExecSQLs
799
800
0 commit comments