Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
taxonomy.module
Priority:
Minor
Category:
Feature request
Assigned:
Reporter:
Created:
18 Aug 2005 at 21:07 UTC
Updated:
7 Dec 2005 at 08:40 UTC
The current query on which taxonomy_node_form is based is of the form:
SELECT v.*, n.type FROM [...]
But the code does not make use of any of the results except v.vid, using DB server resources uselessly. Patch reduces the query to
SELECT v.vid FROM [...]
This reduces the size of the result set and, to some extent, the work to be performed by the DB server.
| Comment | File | Size | Author |
|---|---|---|---|
| taxonomy.module.463.patch | 630 bytes | fgm |
Comments
Comment #1
chx commentedComment #2
dries commentedPorted your patch to HEAD, and committed it to HEAD. Not going to commit it to DRUPAL-4-6. Thanks fgm.
Comment #3
(not verified) commented