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

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 7 09:46:17 GMT 2006


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

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

Comment:

 This doesn't fix the problem when a plugin uses dbdelta() like [http://dev
 .wp-plugins.org/file/gengo/trunk/gengo/gengo_schema.php Gengo] does.  The
 UNIQUE index on the code field will be duplicated.

 ryanscheuermann's patch fixed _that_ problem for me.

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


More information about the wp-trac mailing list