Posted by andypost on July 8, 2011 at 6:51pm
7 followers
Jump to:
| Project: | Drupal core |
| Version: | 8.x-dev |
| Component: | aggregator.module |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
| Issue tags: | Administration, Performance |
Issue Summary
This place only ensures that category exists so should be converted to optimized "exist" query type
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| aggregator_count.patch | 591 bytes | Idle | PASSED: [[SimpleTest]]: [MySQL] 33,543 pass(es). | View details |
Comments
#1
Any reviews? Patch so simple...
aggregator_count.patch queued for re-testing.
#2
It works. I actually think it makes the intention of the code clearer as well. It checks that a category exists rather than how many exist.
#3
#4
This makes sense and helps avoid COUNT(*) query in MySQL Innodb tables (good!!).
#5
Committed to 7.x and 8.x. Thanks.
#6
Automatically closed -- issue fixed for 2 weeks with no activity.
#7