(tableID, f *plugin.Identifier, defaultSchema string)
| 22 | } |
| 23 | |
| 24 | func SameTableName(tableID, f *plugin.Identifier, defaultSchema string) bool { |
| 25 | if tableID == nil { |
| 26 | return false |
| 27 | } |
| 28 | schema := tableID.Schema |
| 29 | if tableID.Schema == "" { |
| 30 | schema = defaultSchema |
| 31 | } |
| 32 | return tableID.Catalog == f.Catalog && schema == f.Schema && tableID.Name == f.Name |
| 33 | } |