[wp-trac] Re: [WordPress Trac] #2695: dbdelta duplicates indices instead of overwriting them.

WordPress Trac wp-trac at lists.automattic.com
Sat Aug 5 10:36:53 GMT 2006


#2695: dbdelta duplicates indices instead of overwriting them.
-------------------------------------------------+--------------------------
 Reporter:  majelbstoat                          |        Owner:  ryan 
     Type:  defect                               |       Status:  new  
 Priority:  normal                               |    Milestone:  2.1  
Component:  Administration                       |      Version:  2.0.4
 Severity:  normal                               |   Resolution:       
 Keywords:  dbdelta duplicate indices bg|commit  |  
-------------------------------------------------+--------------------------
Changes (by majelbstoat):

  * keywords:  dbdelta duplicate indices => dbdelta duplicate indices
               bg|commit
  * version:  2.0.2 => 2.0.4

Comment:

 I can confirm that this fixes the problem for me on 2.0.4 - no duplicate
 UNIQUE indices were created once the patch was applied.  Haven't tested
 with creating an INDEX, but the patch looks sound.

 The suggestion to remove the spaces from the multiple primary key also
 worked.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2695>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list