Update applier.go

update function comment
This commit is contained in:
Blylei 2023-05-30 12:50:54 +08:00 committed by GitHub
parent 0a033c76c1
commit 6dfadca148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -300,7 +300,7 @@ func (this *Applier) AlterGhost() error {
return err
}
// AlterGhost applies `alter` statement on ghost table
// AlterGhostAutoIncrement alter `AUTO_INCREMENT` clause on ghost table
func (this *Applier) AlterGhostAutoIncrement() error {
query := fmt.Sprintf(`alter /* gh-ost */ table %s.%s AUTO_INCREMENT=%d`,
sql.EscapeName(this.migrationContext.DatabaseName),