Skip to content

Commit

Permalink
remove tiny optimization to improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
tangenta committed Jun 23, 2022
1 parent 285ab3a commit 9204d4b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ddl/multi_schema_change.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ func onMultiSchemaChange(w *worker, d *ddlCtx, t *meta.Meta, job *model.Job) (ve
proxyJob := sub.ToProxyJob(job)
ver, err = w.runDDLJob(d, t, proxyJob)
sub.FromProxyJob(proxyJob)
if i == 0 && sub.IsFinished() {
job.State = model.JobStateRollbackDone
}
return ver, err
}
// The last rollback/cancelling sub-job is done.
Expand Down

0 comments on commit 9204d4b

Please sign in to comment.