Posted by robertDouglass on September 11, 2006 at 10:10am
| Project: | Devel |
| Version: | 7.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
This applies to both 4.7 and CVS. Duplicate queries are not being detected and we thus lose a major opportunity to detect bad programming practices and wasted resources.
Comments
#1
Found it!
$count needs to get pulled out before $query[0] is manipulated, as the $counts array is indexed by $query[0].
(Patch is against DRUPAL-4-7, fix for CVS is probabaly similar)
#2
committed to DRUPAL-5 and DRUPAL4-7. Thanks.
#3