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

WordPress Trac noreply at wordpress.org
Fri Jan 1 21:37:11 UTC 2016


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

Comment (by mnelson4):

 oh @jdgrimes I didn't realize there were tests for dbdelta already. That's
 helpful. I suppose the implicit commit from table changes doesn't mess
 them up- I thought it would.

 > I suppose that the expected behavior here is that dbDelta() will
 automatically update the index length when it changes? And then I guess it
 would also remove the index length when it is no longer specified.

 +1

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


More information about the wp-trac mailing list