Closed (outdated)
Project:
Drupal core
Version:
6.x-dev
Component:
aggregator.module
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
11 Sep 2006 at 15:06 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent
Cleans up a couple "lazy" sql statements in aggregator. Most "enterprise" (commercial, enterprise, large, whatever taxonomy you wanna use) will not allow a group by on a large-data column type such as a CLOB/BLOB, etc.
Most of the original sql statements had SELECT table.* , and then spelled out the columns in the group by clause. Well, the SELECT * includes the "image" column in this case.
Kind of makes sense...I mean, why would you need to group on a BLOB type column where every value is unique?
| Comment | File | Size | Author |
|---|---|---|---|
| aggregator_sql_clean_up.patch | 1.79 KB | Souvent22 |
Comments
Comment #1
Souvent22 commentedComment #2
chx commentedComment #3
webchickPatch still applies, and I agree with spelling out the fields you're selecting, however:
1. It's inconsistent to put the query on more than one line (I know it's .= so internally it's still on one line, but it still breaks consistency).
2. Doesn't this mean you can no longer display feed images in the aggregator view?
Comment #4
Souvent22 commentedNo, just means you'll have to pull them in speratley; which this should be a big deal anyways as if you pull in the link, the users browser will cache such small images anyway; and we can implement out own caching if need be on our end if the extra db calls really become a big deal.
Comment #5
dpearcefl commentedIs there any interest in this issue any more?