Bug #13408 | Incorrect output of SHOW CREATE TABLE with multiple referential actions | ||
---|---|---|---|
Submitted: | 22 Sep 2005 18:00 | Modified: | 22 Sep 2005 18:26 |
Reporter: | Felix Geerinckx (Basic Quality Contributor) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.11 | OS: | Linux (Linux) |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[22 Sep 2005 18:00]
Felix Geerinckx
[22 Sep 2005 18:26]
MySQL Verification Team
From bug: http://bugs.mysql.com/bug.php?id=13341 And quoting Heikki answer: -------------------------------------------------------------------------- Hi! SHOW CREATE TABLE does NOT omit ON DELETE CASCADE or ON UPDATE CASCADE. It does omit ON DELETE RESTRICT and ON UPDATE RESTRICT, because RESTRICT is the default behavior of FOREIGN KEY constraints. It does not add anything to write those clauses to SHOW CREATE TABLE. I believe this is not a bug. Changing the status to 'Not a bug'. Regards, Heikki ------------------------------------------------------------------------