jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1235320 - /incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/migrate/DatasetGraphTrackActive.java
Date Tue, 24 Jan 2012 16:07:13 GMT
Author: andy
Date: Tue Jan 24 16:07:13 2012
New Revision: 1235320

URL: http://svn.apache.org/viewvc?rev=1235320&view=rev
Log:
In-memory transactions by locking didn't handle .end() properly.

Modified:
    incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/migrate/DatasetGraphTrackActive.java

Modified: incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/migrate/DatasetGraphTrackActive.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/migrate/DatasetGraphTrackActive.java?rev=1235320&r1=1235319&r2=1235320&view=diff
==============================================================================
--- incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/migrate/DatasetGraphTrackActive.java
(original)
+++ incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/migrate/DatasetGraphTrackActive.java
Tue Jan 24 16:07:13 2012
@@ -72,7 +72,7 @@ public abstract class DatasetGraphTrackA
     @Override
     public void end()
     {
-        checkActive() ;
+        // Don't check if active.  We may have committed or aborted already.
         _end() ;
         inTransaction = false ; 
     }



Mime
View raw message