Opened 18 years ago
Closed 17 years ago
#3900 closed enhancement (fixed)
New keys for post2cat
Reported by: | Xmion | Owned by: | rob1n |
---|---|---|---|
Milestone: | 2.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Optimization | Keywords: | has-patch |
Focuses: | Cc: |
Description
Have you guys seen this, is this something that can improve somewere on wordpress as it does on Lyceum look over at this url, damn hot for lyceum anyway. http://source.ibiblio.org/trac/lyceum/changeset/1012
Attachments (1)
Change History (11)
#4
@
18 years ago
Unless I'm misunderstanding something, wouldn't that force post_id or category_id to be unique? What if a post has more than one category assigned to it, and thus more than one entry in post2cat with the same post_id's?
I'm not great with SQL, so there's probably something I'm missing...
#5
@
18 years ago
The pair has to be unique, so a post can't have the same category more than once in the post2cat table, which would be pointless anyway.
#6
@
18 years ago
- Keywords has-patch commit added; Performance removed
Ah. +1 then. Anybody interested in benchmarking the differences?
Note: See
TracTickets for help on using
tickets.
Looks like we need to change dbDelta to handle the upgrade.