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