Bug #1528 | Foreign key names | SQL dump | ||
---|---|---|---|
Submitted: | 10 Oct 2003 17:36 | Modified: | 3 Aug 2007 16:05 |
Reporter: | Hadrian Oliver | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S4 (Feature request) |
Version: | 4.0.14 | OS: | Windows (windows/linux) |
Assigned to: | CPU Architecture: | Any |
[10 Oct 2003 17:36]
Hadrian Oliver
[10 Oct 2003 18:05]
MySQL Verification Team
I am assigning Heikki for complete comments. Two comments from me: Your note 2: From the Manual: ---------------------------------------------------------------------- If you want to import several dumps of tables, but the dumps are not correctly ordered for foreign keys, starting from 3.23.52 and 4.0.3 you can turn the foreign key checks off for a while in the import session: SET FOREIGN_KEY_CHECKS=0; This allows you to import the tables in any order, and also speeds up the import. ----------------------------------------------------------------------------- About CASE SENSITIVE Currently this is based on OS support, Windows from NT and above offers case SENSITIVE only for write but for read is CASE INSENSITIVE so demands a major change on server code which is a big job. However let us Heikki, reply you.
[11 Oct 2003 2:18]
Sergei Golubchik
adding to the above: mysqldump in 4.1+ already adds SET FOREIGN_KEY_CHECKS=0; to the dump automatically, so this is solved. We also do have plans to make table name case-sensitivity not to be dependent on underlying OS filesystem capabilities. But as Miguel noted, it's a big task which implies significant changes in the server code, and as such cannot not be done before 5.0.
[30 Oct 2004 9:08]
Heikki Tuuri
Hi! InnoDB now remembers the CONSTRAINT names that you gave. There were also other items in the feature request. Therefore I am no closing this item. Regards, Heikki
[3 Aug 2007 16:05]
Konstantin Osipov
According to comments from Heikki, this is fixed.