()
| 80 | } |
| 81 | |
| 82 | func (gmr *GoMySQLReader) GetCurrentBinlogCoordinates() mysql.BinlogCoordinates { |
| 83 | gmr.currentCoordinatesMutex.Lock() |
| 84 | defer gmr.currentCoordinatesMutex.Unlock() |
| 85 | return gmr.currentCoordinates.Clone() |
| 86 | } |
| 87 | |
| 88 | func (gmr *GoMySQLReader) handleRowsEvent(ev *replication.BinlogEvent, rowsEvent *replication.RowsEvent, entriesChannel chan<- *BinlogEntry) error { |
| 89 | currentCoords := gmr.GetCurrentBinlogCoordinates() |