Bug #60398 | SHOW CREATE TABLE --- missing CHECK constraint | ||
---|---|---|---|
Submitted: | 8 Mar 2011 21:02 | Modified: | 9 Mar 2011 0:32 |
Reporter: | Arthur Yeo | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 5.5.8 | OS: | Windows (Windows 7 - 64bit) |
Assigned to: | CPU Architecture: | Any | |
Tags: | check, constraint |
[8 Mar 2011 21:02]
Arthur Yeo
[8 Mar 2011 22:20]
Peter Laursen
MySQL server does not support CHECK constraints (only PRIMARY and UNIQUE constraints are supported). You may specify a CHECK constraint at CREATE-time but it is ignored by the server/parser. Peter (not a MySQL person)
[9 Mar 2011 0:32]
MySQL Verification Team
Please see Peter's prior comment. Thanks.
[9 Mar 2011 6:02]
MySQL Verification Team
if you believe that mysql should return an error or warning for ignored syntax, take a look at bug #47771