(schemaName string)
| 1651 | } |
| 1652 | } |
| 1653 | func (b *BinlogReader) findCurrentSchema(schemaName string) *common.SchemaContext { |
| 1654 | if schemaName == "" { |
| 1655 | return nil |
| 1656 | } |
| 1657 | schemaContext, ok := b.tables[schemaName] |
| 1658 | if !ok { |
| 1659 | return nil |
| 1660 | } |
| 1661 | |
| 1662 | return schemaContext |
| 1663 | } |
| 1664 | |
| 1665 | func (b *BinlogReader) findSchemaConfig(schemaConfigs []*common.DataSource, schemaName string) *common.DataSource { |
| 1666 | if schemaName == "" { |
no outgoing calls
no test coverage detected