Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: chx commentedComment #2
Dries CreditAttribution: 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) CreditAttribution: commented