Hey,
Just noticed potentially another issue in the comment module.
In the comment_new_page_count, it was blowing up on the query:
(SELECT thread FROM {comments} WHERE nid = %d AND status = 0 ORDER BY timestamp DESC LIMIT %d) trds ORDER BY thread DESC LIMIT 1
Attached is a patch to address this.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | comment.pg_new_page_count.patch | 1.7 KB | socki |
| comment.new_page_count.patch | 1.67 KB | socki |
Comments
Comment #2
damien tournoud commentedBumped to D7, as the code is the same there. The change looks significant, we will need a test for this.
Comment #3
socki commentedActually, here is a proper patch file which should pass the testbed bot as i had created the patch from inside the wrong directory.
Comment #4
berdirI'm pretty sure this has been adressed in the mean time as there were a lot of changes to that function.
(Sorry for pinging the participants, I'm trying to clean up a few old
issues)