Close the binlog syncer
This commit is contained in:
parent
ec6ceffbcb
commit
e82d5633f9
@ -158,10 +158,6 @@ func (this *GoMySQLReader) StreamEvents(canStopStreaming func() bool, entriesCha
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *GoMySQLReader) Close() error {
|
func (this *GoMySQLReader) Close() error {
|
||||||
// Historically there was a:
|
this.binlogSyncer.Close()
|
||||||
// this.binlogSyncer.Close()
|
|
||||||
// here. A new go-mysql version closes the binlog syncer connection independently.
|
|
||||||
// I will go against the sacred rules of comments and just leave this here.
|
|
||||||
// This is the year 2017. Let's see what year these comments get deleted.
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user