Bug #219 | Bug in "show create table" on Win32 server: Loses case of foreign key constrai | ||
---|---|---|---|
Submitted: | 1 Apr 2003 11:12 | Modified: | 7 Apr 2003 6:48 |
Reporter: | Scott Maxwell | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S2 (Serious) |
Version: | 4.0.11-gama-Max | OS: | Windows (Windows XP) |
Assigned to: | CPU Architecture: | Any |
[1 Apr 2003 11:12]
Scott Maxwell
[7 Apr 2003 6:48]
MySQL Verification Team
According with the InnoDB main developer, this behavior was introduced for to avoid problems on Windows when the *.frm files are renamed (MySQL thinks the table name has changed, but InnoDB did not find the table from its own data dictionary). This will be fixed on MySQL 5.0 when MySQL stores the CREATE TABLE statement verbatim to the .frm file. For now this will declared as a known design deficiency: in Windows SHOW CREATE TABLE always prints FOREIGN KEY table names in lower case!