You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by bu...@apache.org on 2004/09/07 20:34:56 UTC

DO NOT REPLY [Bug 31104] New: - PostgresRDBMSAdapter leaves locks in table URI

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=31104>.
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=31104

PostgresRDBMSAdapter leaves locks in table URI

           Summary: PostgresRDBMSAdapter leaves locks in table URI
           Product: Slide
           Version: 2.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Stores
        AssignedTo: slide-dev@jakarta.apache.org
        ReportedBy: snmvaughan92@yahoo.com


The removeLock method attempts to perform two statements:
1) delete from LOCKS where LOCK_ID = URI.URI_ID and URI.URI_STRING=?
2) delete from URI where URI_ID = LOCKS.LOCK_ID and URI_STRING=?

The second statement never deletes a row since the row for containing the 
LOCK_ID was deleted in the first statement.

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org