(d *model.DatabaseMetadata, node *tidbast.TableToTable)
| 202 | } |
| 203 | |
| 204 | func tidbMoveToOtherDatabase(d *model.DatabaseMetadata, node *tidbast.TableToTable) bool { |
| 205 | if node.OldTable.Schema.O != "" && !isCurrentDatabase(d, node.OldTable.Schema.O) { |
| 206 | return false |
| 207 | } |
| 208 | return node.OldTable.Schema.O != node.NewTable.Schema.O |
| 209 | } |
| 210 | |
| 211 | func tidbTheCurrentDatabase(d *model.DatabaseMetadata, node *tidbast.TableToTable) bool { |
| 212 | if node.NewTable.Schema.O != "" && !isCurrentDatabase(d, node.NewTable.Schema.O) { |
no test coverage detected