MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / String

Method String

IceFireDB-SQLite/pkg/mysql/mysql/mariadb_gtid.go:57–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55}
56
57func (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
66func (gtid *MariadbGTID) Contain(other *MariadbGTID) bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected