Bug #6340 | Constraint name of foreign key not stored | ||
---|---|---|---|
Submitted: | 31 Oct 2004 0:05 | Modified: | 3 Nov 2004 14:02 |
Reporter: | Peter Gulutzan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.8-debug | OS: | Linux (SuSE 8.2) |
Assigned to: | Marko Mäkelä | CPU Architecture: | Any |
[31 Oct 2004 0:05]
Peter Gulutzan
[1 Nov 2004 7:12]
Heikki Tuuri
Marko, please tweak the FOREIGN KEY parser of InnoDB. Thank you, Heikki
[3 Nov 2004 9:45]
Marko Mäkelä
The bug is also in the 4.0 series. While looking at this bug, I noticed another problem: create table `constraint foo foreign key(a)references bar(a)`(...) will trick InnoDB into creating a constraint. The reserved words should not be searched for inside quotes. I'll fix both bugs in 4.0.
[3 Nov 2004 13:24]
Marko Mäkelä
ChangeSet@1.2058, 2004-11-03 14:56:48+02:00, marko@hundin.mysql.fi InnoDB: fix bugs in the FOREIGN KEY parser (Bug #6340)
[3 Nov 2004 14:02]
Marko Mäkelä
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html Additional info: I pushed the change to the 4.0 source tree. It will be merged to the 4.1 and 5.0 source trees later.