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

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 4 19:11:17 GMT 2006


#2695: dbdelta duplicates indices instead of overwriting them.
---------------------------------------+------------------------------------
 Reporter:  majelbstoat                |        Owner:  anonymous
     Type:  defect                     |       Status:  new      
 Priority:  normal                     |    Milestone:  2.1      
Component:  Administration             |      Version:  2.0.2    
 Severity:  normal                     |   Resolution:           
 Keywords:  dbdelta duplicate indices  |  
---------------------------------------+------------------------------------
Comment (by ryanscheuermann):

 Keep in mind, when using dbdelta with multiple column keys, there can be
 no spaces after the commas when separating the columns, like so:

 {{{
   KEY type_status_date (post_type,post_status,post_date,ID)
 }}}

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


More information about the wp-trac mailing list