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

Interface GTIDSet

IceFireDB-SQLProxy/pkg/mysql/mysql/gtid.go:5–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import "github.com/pingcap/errors"
4
5type GTIDSet interface {
6 String() string
7
8 // Encode GTID set into binary format used in binlog dump commands
9 Encode() []byte
10
11 Equal(o GTIDSet) bool
12
13 Contain(o GTIDSet) bool
14
15 Update(GTIDStr string) error
16
17 Clone() GTIDSet
18}
19
20func ParseGTIDSet(flavor string, s string) (GTIDSet, error) {
21 switch flavor {

Callers

nothing calls this directly

Implementers 4

MariadbGTIDSetIceFireDB-SQLProxy/pkg/mysql/mysql/mar
MysqlGTIDSetIceFireDB-SQLProxy/pkg/mysql/mysql/mys
MariadbGTIDSetIceFireDB-SQLite/pkg/mysql/mysql/maria
MysqlGTIDSetIceFireDB-SQLite/pkg/mysql/mysql/mysql

Calls

no outgoing calls

Tested by

no test coverage detected