DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38273>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38273

           Summary: method "retrieveRevisionDescriptors" of
                    "StandardRDBMSAdapter"
           Product: Slide
           Version: 2.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Stores
        AssignedTo: slide-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


In the method "retrieveRevisionDescriptors" of "StandardRDBMSAdapter", the sql 
for selecting successor "select distinct pvh.REVISION_NO from VERSION_HISTORY 
vh, VERSION_HISTORY pvh, VERSION_PREDS vp, URI u where pvh.VERSION_ID = 
vp.VERSION_ID and vp.VERSION_ID = vh.VERSION_ID and vh.URI_ID = u.URI_ID and 
u.URI_STRING = ? and vh.REVISION_NO = ?" is wrong, I think it should 
be "select distinct pvh.REVISION_NO from VERSION_HISTORY vh, VERSION_HISTORY 
pvh, VERSION_PREDS vp, URI u where pvh.VERSION_ID = vp.PREDECESSOR_ID and 
vp.VERSION_ID = vh.VERSION_ID and vh.URI_ID = u.URI_ID and u.URI_STRING = ? 
and vh.REVISION_NO = ?"; and the column name "VERSION_ID" and "PREDECESSOR_ID" 
of table "VERSION_PREDS" should be exchanged, they are confusable!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to