[wp-trac] [WordPress Trac] #10905: Do not allow duplicate (post_id, meta_key, meta_value) rows in meta tables
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 6 21:57:36 UTC 2010
#10905: Do not allow duplicate (post_id, meta_key, meta_value) rows in meta tables
--------------------------+-------------------------------------------------
Reporter: scribu | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Triage
Component: Database | Version: 2.9
Severity: normal | Keywords: needs-patch
--------------------------+-------------------------------------------------
Changes (by Denis-de-Bernardy):
* keywords: has-patch => needs-patch
Comment:
See also #15049, which got closed as dup, with further discussion points.
Btw, the unique index is not an interesting one. It's too large - better
use in_array() for this kind of stuff.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10905#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list