Merge pull request #325 from github/myisam-gtid

Myisam gtid
This commit is contained in:
Shlomi Noach 2016-12-05 12:19:55 +01:00 committed by GitHub
commit 56bee78108

View File

@ -703,10 +703,11 @@ func (this *Applier) CreateAtomicCutOverSentryTable() error {
query := fmt.Sprintf(`create /* gh-ost */ table %s.%s (
id int auto_increment primary key
) comment='%s'
) engine=%s comment='%s'
`,
sql.EscapeName(this.migrationContext.DatabaseName),
sql.EscapeName(tableName),
this.migrationContext.TableEngine,
atomicCutOverMagicHint,
)
log.Infof("Creating magic cut-over table %s.%s",