Opened 11 years ago
Closed 11 years ago
#32099 closed defect (bug) (fixed)
Wrong index name in 4.2 database upgrade routine
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.2.2 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Upgrade/Install | Keywords: | has-patch commit |
| Focuses: | Cc: |
Description
Seems like it's just an oversight in r31349, the signups table index is called domain_path, not domain.
Attachments (2)
Change History (9)
#2
@
11 years ago
We'll also need to drop the domain index, unless the query fails because we try to DROP an index that doesn't work. Do we need a new upgrade routine? What's the side effects of this bug?
#3
@
11 years ago
No need to drop the domain index as it doesn't get created when the first part of the query fails. The side effect is that wp_signups doesn't get converted to utf8mb4 with a "Specified key was too long" error. From what I can see this doesn't affect updates on other tables.
#4
@
11 years ago
32099.2.diff adds an extra check on upgrade to fix any wp_signups tables with incorrect indexes.
Note: See
TracTickets for help on using
tickets.
Huh, nice. We can commit this as soon as we're ready to start dev on 4.3, and backport it to the 4.2 branch.