Skip to content

Commit

Permalink
Update binlog.go
Browse files Browse the repository at this point in the history
x
  • Loading branch information
shaohk authored Feb 27, 2024
1 parent d58be83 commit bad5296
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/mysql/binlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func (this *BinlogCoordinates) SmallerThanOrEquals(other *BinlogCoordinates) boo
// The binlog event end_log_pos field type is defined as uint32, 4 bytes.

Check failure on line 80 in go/mysql/binlog.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gofmt`-ed with `-s` (gofmt)
// https://github.com/go-mysql-org/go-mysql/blob/master/replication/event.go
// Issue: https://github.com/github/gh-ost/issues/1366
// Protocol: https://dev.mysql.com/doc/dev/mysql-server/latest/page_protocol_replication_binlog_event.html#sect_protocol_replication_binlog_event_header
func (this *BinlogCoordinates) IsLogPosOverflowBeyond4Bytes(preCoordinate *BinlogCoordinates) bool {
if preCoordinate == nil {
return false
Expand Down

0 comments on commit bad5296

Please sign in to comment.