This commit is contained in:
Blylei 2023-05-30 04:51:20 +00:00 committed by GitHub
commit f91c6a0620
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),