Closed (fixed)
Project:
CVS integration
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Dec 2006 at 15:32 UTC
Updated:
3 Sep 2007 at 22:35 UTC
Jump to comment: Most recent file
Visiting this page:
http://drupal.org/project/cvs/103482?nid=103482&page=5&nid=103482
results in a message:
"No CVS commit messages found." although the page is listed in the pager.
killes is to be blamed for the description ;-)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | cvs_query.patch | 1.75 KB | hunmonk |
Comments
Comment #1
dwwyup, i just confirmed this is definitely still broken. i'm too tired to figure out the correct count query right now, but hopefully i'll be able to get to this soon.
Comment #2
hunmonk commentedcid is not distinct in the result set, i think because there are multiple files per commit. attached patch adds a distinct operator to the query, which fixes the problem. tested and working perfectly on mysql. i ran the query on postgres and got no errors (and no results since i don't have a setup w/ cvs files in pg), so the query should be fine there as well.
also fixes improper precedence when the 'user' param is passed -- OR has to be enclosed in parentheses.
Comment #3
dwwLooks good to me. Thanks!
Comment #4
hunmonk commentedfixed in HEAD, 4.7.x-1.x, 4.7.x-2.x
Comment #5
(not verified) commented