Posted by msameer on November 22, 2006 at 9:22am
| Project: | Drupal core |
| Version: | 6.x-dev |
| Component: | file system |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
Hi,
Seems that the image module is executing queries like:
SELECT filename, filepath FROM files WHERE nid=561;But the files table doesn't have a key on nid. I guess that adding it will improve the selects against large tables ?
Comments
#1
it is probably a good guess. :p
I think a patch for this makes sense, but I am moving it to HEAD.
#2
Patch against 5.0 beta1
#3
#4
This probably would get more attention if labeled as a patch.
#5
I can't mark it as needs review while I know it's not.
#6
there's no longer a files.nid column.