db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r1173446 - /db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/Session.java
Date Wed, 21 Sep 2011 00:57:14 GMT
Author: dag
Date: Wed Sep 21 00:57:14 2011
New Revision: 1173446

URL: http://svn.apache.org/viewvc?rev=1173446&view=rev
Log:
DERBY-5418 Network server session's close method neglects to close down any open trace file

Added fix to close any open trace file when a session closes. Patch
derby-5418.diff.


Modified:
    db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/Session.java

Modified: db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/Session.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/Session.java?rev=1173446&r1=1173445&r2=1173446&view=diff
==============================================================================
--- db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/Session.java (original)
+++ db/derby/code/trunk/java/drda/org/apache/derby/impl/drda/Session.java Wed Sep 21 00:57:14
2011
@@ -109,6 +109,7 @@ class Session
 			sessionInput.close();
 			sessionOutput.close();
 			clientSocket.close();
+			setTraceOff();
 			if (dbtable != null)
 				for (Enumeration e = dbtable.elements() ; e.hasMoreElements() ;) 
 				{



Mime
View raw message