[wp-trac] [WordPress Trac] #34870: dbDelta Not Specifying Key Length Duplicate Indexes

WordPress Trac noreply at wordpress.org
Mon Sep 12 05:43:00 UTC 2016


#34870: dbDelta Not Specifying Key Length Duplicate Indexes
-------------------------------------------------+-------------------------
 Reporter:  charlestonsw                         |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Database                             |  Review
 Severity:  normal                               |     Version:  2.8.1
 Keywords:  has-patch needs-unit-tests needs-    |  Resolution:
  refresh                                        |     Focuses:
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by pento):

 Side note: if the second parameter to `dbDelta()` is `false`, it doesn't
 try to make the actual changes. Very useful for unit tests - see
 [attachment:34870.diff].

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


More information about the wp-trac mailing list