File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -99,15 +99,6 @@ func (this *FileBinlogCoordinates) SmallerThanOrEquals(other BinlogCoordinates)
9999 return this .LogFile == coord .LogFile && this .LogPos == coord .LogPos // No Type comparison
100100}
101101
102- // FileSmallerThan returns true if this coordinate's file is strictly smaller than the other's.
103- func (this * FileBinlogCoordinates ) FileSmallerThan (other BinlogCoordinates ) bool {
104- coord , ok := other .(* FileBinlogCoordinates )
105- if ! ok || other == nil {
106- return false
107- }
108- return this .LogFile < coord .LogFile
109- }
110-
111102// FileNumberDistance returns the numeric distance between this coordinate's file number and the other's.
112103// Effectively it means "how many rotates/FLUSHes would make these coordinates's file reach the other's"
113104func (this * FileBinlogCoordinates ) FileNumberDistance (other * FileBinlogCoordinates ) int {
You can’t perform that action at this time.
0 commit comments