[MDEV-8629] Inconsistent documentation on AUTO_INCREMENT Created: 2015-08-17 Updated: 2015-08-18 Resolved: 2015-08-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Documentation |
| Affects Version/s: | N/A |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Paul Weiss | Assignee: | Ian Gilfillan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
online documentation |
||
| Description |
|
The MariaDB page for AUTO_INCREMENT (https://mariadb.com/kb/en/mariadb/auto_increment/) says that the AUTO_INCREMENT column in a table "must be the PRIMARY KEY or a UNIQUE key." But the AUTO_INCREMENT FAQ page (https://mariadb.com/kb/en/mariadb/autoincrement-faq/) says "it only has to be indexed. It doesn't even have to be unique." |
| Comments |
| Comment by Elena Stepanova [ 2015-08-18 ] |
|
Thanks for the report. |
| Comment by Ian Gilfillan [ 2015-08-18 ] |
|
The documentation has been updated |