Bug #41675 | Missing index name collision detection at Object Mapping step | ||
---|---|---|---|
Submitted: | 22 Dec 2008 15:04 | Modified: | 19 Oct 2009 13:51 |
Reporter: | stonebrad unlojitop | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Migration Toolkit | Severity: | S2 (Serious) |
Version: | 1.1.15 | OS: | Windows |
Assigned to: | CPU Architecture: | Any | |
Tags: | CHECKED, indexes naming collision duplicate |
[22 Dec 2008 15:04]
stonebrad unlojitop
[22 Dec 2008 15:39]
Valeriy Kravchuk
Thank you for a bug report. It is very easy to repeat even migrating the following MySQL table: mysql> create table tli(c1 int, c2 int, -> key myreallyhugeindexnamethatwillraisemigrationproblems01(c1), -> key myreallyhugeindexnamethatwillraisemigrationproblems02(c2)); Query OK, 0 rows affected (0.20 sec) mysql> show create table tli\G *************************** 1. row *************************** Table: tli Create Table: CREATE TABLE `tli` ( `c1` int(11) default NULL, `c2` int(11) default NULL, KEY `myreallyhugeindexnamethatwillraisemigrationproblems01` (`c1`), KEY `myreallyhugeindexnamethatwillraisemigrationproblems02` (`c2`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 1 row in set (0.08 sec) to another instance of MySQL. The following script is generated: -- ---------------------------------------------------------------------- -- MySQL Migration Toolkit -- SQL Create Script -- ---------------------------------------------------------------------- SET FOREIGN_KEY_CHECKS = 0; CREATE DATABASE IF NOT EXISTS `test` CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `test`; -- ------------------------------------- -- Tables DROP TABLE IF EXISTS `test`.`tli`; CREATE TABLE `test`.`tli` ( `c1` INT(11) NULL, `c2` INT(11) NULL, INDEX `myreallyhugeindexnamethatwillra` (`c1`), INDEX `myreallyhugeindexnamethatwillra` (`c2`) ) ENGINE = INNODB; SET FOREIGN_KEY_CHECKS = 1; -- ---------------------------------------------------------------------- -- EOF
[19 Oct 2009 13:51]
Susanne Ebrecht
Many thanks for writing a bug report. We are on the way to implement full functionality of MySQL Migration Tool into MySQL Workbench. We won't fix this anymore. More informations about MySQL Workbench you will find here: http://dev.mysql.com/workbench/