wburrows 2004/12/07 17:08:12
Modified: src/webdav/server/org/apache/slide/webdav/method
UnlockMethod.java
Log:
Defect 32250: fixes to solve db deadlocks when client transaction used.
Revision Changes Path
1.43 +13 -3
jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/UnlockMethod.java
Index: UnlockMethod.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/webdav/server/org/apache/slide/webdav/method/UnlockMethod.java,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- UnlockMethod.java 26 Oct 2004 20:06:01 -0000 1.42
+++ UnlockMethod.java 8 Dec 2004 01:08:12 -0000 1.43
@@ -120,6 +120,16 @@
// ------------------------------------------------------ Protected
Methods
+ /**
+ * get the command for this unlock operation.
+ *
+ * @return int command. One of NO_TRANSACTION, COMMIT_TRANSACTION,
ABORT_TRANSACTION
+ */
+ protected int getCommand()
+ {
+ return command;
+ }
+
/**
* Parse the request.
*
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]