Bug #69055 | wrong PRI Key in SHOW COLUMNS | ||
---|---|---|---|
Submitted: | 24 Apr 2013 14:22 | Modified: | 24 Apr 2013 16:11 |
Reporter: | martin fuxa | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 5.6.10, 5.5.30 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[24 Apr 2013 14:22]
martin fuxa
[24 Apr 2013 16:11]
MySQL Verification Team
Thank you for the bug report. Quoting the Manual: http://dev.mysql.com/doc/refman/5.5/en/create-table.html "If you do not have a PRIMARY KEY and an application asks for the PRIMARY KEY in your tables, MySQL returns the first UNIQUE index that has no NULL columns as the PRIMARY KEY. " So is returned UNIQUE KEY `skupina_am` (`skupina`,`rk`,`nazev`), columns as PRI