fixed 5.5 binlog_row_image default value
This commit is contained in:
parent
2a00abfc99
commit
63a0e5cf2c
@ -298,7 +298,7 @@ func (this *Inspector) validateBinlogs() error {
|
||||
query = `select @@global.binlog_row_image`
|
||||
if err := this.db.QueryRow(query).Scan(&this.migrationContext.OriginalBinlogRowImage); err != nil {
|
||||
// Only as of 5.6. We wish to support 5.5 as well
|
||||
this.migrationContext.OriginalBinlogRowImage = ""
|
||||
this.migrationContext.OriginalBinlogRowImage = "FULL"
|
||||
}
|
||||
this.migrationContext.OriginalBinlogRowImage = strings.ToUpper(this.migrationContext.OriginalBinlogRowImage)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user