(GTIDStr string)
| 360 | } |
| 361 | |
| 362 | func (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 | |
| 373 | func (s *MysqlGTIDSet) Contain(o GTIDSet) bool { |
| 374 | sub, ok := o.(*MysqlGTIDSet) |
nothing calls this directly
no test coverage detected