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

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 15 23:44:32 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 jamescollins):

 Replying to [comment:8 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.

 FYI, donncha's change for WPMU has now been reverted (see
 http://trac.mu.wordpress.org/ticket/334#comment:11).

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


More information about the wp-trac mailing list