[wp-trac] Re: [WordPress Trac] #8949: WP creates duplicate options

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 11 15:53:52 GMT 2009


#8949: WP creates duplicate options
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  anonymous  
     Type:  defect (bug)       |      Status:  new        
 Priority:  low                |   Milestone:  2.8        
Component:  Optimization       |     Version:  2.7        
 Severity:  minor              |    Keywords:  needs-patch
-------------------------------+--------------------------------------------

Comment(by donncha):

 FYI - I think it's a good idea too but will have to be implemented
 carefully. Duplicates certainly exist and if the key value is different we
 have to be careful about which key to delete before adding the UNIQUE
 index.

 http://trac.mu.wordpress.org/ticket/334 covers a similar issue but with
 the MU sitemeta table. I added the UNIQUE index to schema.php in WordPress
 MU trunk for people to test but haven't received any feedback yet as it's
 a new change.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/8949#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list