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

WordPress Trac noreply at wordpress.org
Sat Apr 11 10:39:52 UTC 2015


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

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32108"]:
 {{{
 #!CommitTicketReference repository="" revision="32108"
 When `dbDelta()` is checking whether an index is defined in a `CREATE
 TABLE` statement, don't worry if MySQL has a subpart defined on an index,
 but the `CREATE TABLE` doesn't.

 Fixes #31869.
 }}}

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


More information about the wp-trac mailing list