Closed (fixed)
Project:
Recipe
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2009 at 16:03 UTC
Updated:
18 Feb 2010 at 19:50 UTC
The query to select nodes by taxonomy term uses the nid field rather than the vid which is in the primary key. On larger data bases this becomes a very slow query (taking over one second). Compare your query to the one generated by the taxonomy module in taxonomy_select_nodes() which joins on vid.
| Comment | File | Size | Author |
|---|---|---|---|
| changeset_r8951.diff | 1.09 KB | drewish |
Comments
Comment #1
jvandervort commentedThanks committed to HEAD.