db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fuzzylo...@apache.org
Subject svn commit: r482894 - /db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbedXAResource.java
Date Wed, 06 Dec 2006 05:03:55 GMT
Author: fuzzylogic
Date: Tue Dec  5 21:03:54 2006
New Revision: 482894

URL: http://svn.apache.org/viewvc?view=rev&rev=482894
Log:
Fix build error when compiling just with JDK 1.4

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbedXAResource.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbedXAResource.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbedXAResource.java?view=diff&rev=482894&r1=482893&r2=482894
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbedXAResource.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/jdbc/EmbedXAResource.java Tue Dec  5
21:03:54 2006
@@ -39,6 +39,7 @@
 import org.apache.derby.iapi.store.access.xa.XAXactId;
 import org.apache.derby.impl.jdbc.EmbedConnection;
 import org.apache.derby.impl.jdbc.TransactionResourceImpl;
+import org.apache.derby.shared.common.sanity.SanityManager;
 
 /**
  * Implements XAResource
@@ -284,8 +285,8 @@
                     returnConnectionToResource(tranState, xid_im);
 					if (SanityManager.DEBUG)
 					{
-						if (realConnection != null)
-							SanityManager.ASSERT(realConnection.transactionIsIdle(),
+						if (con.realConnection != null)
+							SanityManager.ASSERT(con.realConnection.transactionIsIdle(),
 									"real connection should have been idle at this point"); 			
 					}
                     return XAResource.XA_RDONLY;



Mime
View raw message