fix TableEngine correlates to the 3rd placeholder in the template string, not the 1st
This commit is contained in:
parent
9b068ec222
commit
ffbd35e180
@ -705,9 +705,9 @@ func (this *Applier) CreateAtomicCutOverSentryTable() error {
|
||||
id int auto_increment primary key
|
||||
) engine=%s comment='%s'
|
||||
`,
|
||||
this.migrationContext.TableEngine,
|
||||
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