Merge pull request #200 from github/support-5-5
fixed 5.5 binlog_row_image default value
This commit is contained in:
commit
4f9c1448d1
@ -298,7 +298,7 @@ func (this *Inspector) validateBinlogs() error {
|
|||||||
query = `select @@global.binlog_row_image`
|
query = `select @@global.binlog_row_image`
|
||||||
if err := this.db.QueryRow(query).Scan(&this.migrationContext.OriginalBinlogRowImage); err != nil {
|
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
|
// 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)
|
this.migrationContext.OriginalBinlogRowImage = strings.ToUpper(this.migrationContext.OriginalBinlogRowImage)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user