Skip to content

Commit 6aaa374

Browse files
authored
Merge branch 'master' into meiji163/parallel-repl
2 parents 0a8787e + a6ccd3f commit 6aaa374

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

go/logic/migrator.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,9 @@ func (this *Migrator) Migrate() (err error) {
354354
} else {
355355
this.migrationContext.Log.Infof("Attempting to execute alter with ALGORITHM=INSTANT")
356356
if err := this.applier.AttemptInstantDDL(); err == nil {
357+
if err := this.hooksExecutor.onSuccess(); err != nil {
358+
return err
359+
}
357360
this.migrationContext.Log.Infof("Success! table %s.%s migrated instantly", sql.EscapeName(this.migrationContext.DatabaseName), sql.EscapeName(this.migrationContext.OriginalTableName))
358361
return nil
359362
} else {

0 commit comments

Comments
 (0)