Opened 11 years ago
Closed 10 years ago
#34959 closed defect (bug) (fixed)
dbDelta index ASC or DESC creates duplicate
| Reported by: | mnelson4 | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.6 |
| Component: | Database | Version: | 4.4 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Similar to #10404,
using
KEY movie_type_idx (movie_type ASC), creates duplicate indexes, whereas using
KEY movie_type_idx (movie_type), does not.
Although specifying the order of the index apparently doesn't affect anything according to http://dev.mysql.com/doc/refman/5.7/en/create-index.html. Specifically it states
An index_col_name specification can end with ASC or DESC. These keywords are permitted for future extensions for specifying ascending or descending index value storage. Currently, they are parsed but ignored; index values are always stored in ascending order.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 37583: