()
| 55 | } |
| 56 | |
| 57 | func (gtid *MariadbGTID) String() string { |
| 58 | if gtid.DomainID == 0 && gtid.ServerID == 0 && gtid.SequenceNumber == 0 { |
| 59 | return "" |
| 60 | } |
| 61 | |
| 62 | return fmt.Sprintf("%d-%d-%d", gtid.DomainID, gtid.ServerID, gtid.SequenceNumber) |
| 63 | } |
| 64 | |
| 65 | // Contain return whether one mariadb gtid covers another mariadb gtid |
| 66 | func (gtid *MariadbGTID) Contain(other *MariadbGTID) bool { |
nothing calls this directly
no outgoing calls
no test coverage detected