Bug #35531 | Foreign keys: comment clause misplaced | ||
---|---|---|---|
Submitted: | 24 Mar 2008 17:50 | Modified: | 20 Apr 2008 15:44 |
Reporter: | Peter Gulutzan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 6.1.0-fk-debug | OS: | Linux (SUSE 10 | 32-bit) |
Assigned to: | Dmitry Lenev | CPU Architecture: | Any |
[24 Mar 2008 17:50]
Peter Gulutzan
[24 Mar 2008 22:06]
MySQL Verification Team
Thank you for the bug report. Verified as described.
[20 Apr 2008 14:57]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/45719 ChangeSet@1.2609, 2008-04-20 18:57:10+04:00, dlenev@mockturtle.local +3 -0 Fix for bug #35531 "Foreign keys: comment clause misplaced". Clauses for column referential constraints were erroneously placed before comment clause in SHOW CREATE TABLE output. Since with current syntax referential clause must be last clause of column definition it was impossible to correctly restore table with columns having both comment and referential constraint clause from SHOW CREATE TABLE output. Fixed SHOW CREATE TABLE to produce correct output.
[20 Apr 2008 15:44]
Dmitry Lenev
Fix for this bug was pushed into 6.1-fk tree. Since this tree is not publicly available yet I am simply closing this bug.