[wp-trac] [WordPress Trac] #31869: dbDelta doesn't allow for automatically truncated indexes

WordPress Trac noreply at wordpress.org
Sat Apr 11 10:37:29 UTC 2015


#31869: dbDelta doesn't allow for automatically truncated indexes
-----------------------------+-----------------------
 Reporter:  pento            |       Owner:  pento
     Type:  defect (bug)     |      Status:  assigned
 Priority:  normal           |   Milestone:  4.2
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------
Changes (by pento):

 * keywords:  has-patch 4.2-strings => has-patch


Comment:

 I've discussed this with @dd32, and given it some more thought. I think
 that our best route is remove the `_doing_it_wrong()` message, and just
 treat an undefined index subpart as being okay, if it turns out MySQL does
 have an index subpart.

 I've changed the fix so that we can easily expand the set of "equivalent"
 index definitions, if more crop up.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31869#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list