Merge pull request #321 from rj03hou/myisam-gtid
If the original table is MyISAM and the default engine is Innodb, and…
This commit is contained in:
commit
b736741b61
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user