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

Method Update

IceFireDB-SQLite/pkg/mysql/mysql/mysql_gtid.go:362–371  ·  view source on GitHub ↗
(GTIDStr string)

Source from the content-addressed store, hash-verified

360}
361
362func (s *MysqlGTIDSet) Update(GTIDStr string) error {
363 gtidSet, err := ParseMysqlGTIDSet(GTIDStr)
364 if err != nil {
365 return err
366 }
367 for _, uuidSet := range gtidSet.(*MysqlGTIDSet).Sets {
368 s.AddSet(uuidSet)
369 }
370 return nil
371}
372
373func (s *MysqlGTIDSet) Contain(o GTIDSet) bool {
374 sub, ok := o.(*MysqlGTIDSet)

Callers

nothing calls this directly

Calls 2

AddSetMethod · 0.95
ParseMysqlGTIDSetFunction · 0.70

Tested by

no test coverage detected