(tables []*Table)
| 47 | return nil |
| 48 | } |
| 49 | func (sc *SchemaContext) AddTables(tables []*Table) (err error) { |
| 50 | for _, table := range tables { |
| 51 | sc.TableMap[table.TableName], err = NewTableContext(table) |
| 52 | if err != nil { |
| 53 | return err |
| 54 | } |
| 55 | } |
| 56 | return nil |
| 57 | } |
| 58 | |
| 59 | // TableName is the table configuration |
| 60 | // slave restrict replication to a given table |
nothing calls this directly
no test coverage detected