Noticed a query on the node table in a case where in 99% of cases the node will already be cached in memory. If we're viewing comments, we're almost always viewing their parent node too. If we're not viewing the parent node, then it's on pages like comment/n/reply where performance is less of an issue than node/n anyway.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | comment_mode_queries.patch | 777 bytes | catch |
| comment_mode.patch | 1.39 KB | catch |
Comments
Comment #2
lilou commentedSee: #335122: Test clean HEAD after every commit and http://pastebin.ca/1258476
Comment #3
catchre-roll since re-test reports seem to be stuck and this one doesn't have 30 lines of cvs crud at the top of it.
Comment #4
dries commentedGood catch! Committed to CVS HEAD.