You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2011/11/22 22:40:57 UTC

svn commit: r1205184 - in /incubator/jena: Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/transaction/NodeTableTrans.java Scratch/AFS/Jena-Dev/trunk/src/dev/Jena163_TDBDifferentIds.java

Author: andy
Date: Tue Nov 22 21:40:56 2011
New Revision: 1205184

URL: http://svn.apache.org/viewvc?rev=1205184&view=rev
Log: (empty)

Modified:
    incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/transaction/NodeTableTrans.java
    incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/Jena163_TDBDifferentIds.java

Modified: incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/transaction/NodeTableTrans.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/transaction/NodeTableTrans.java?rev=1205184&r1=1205183&r2=1205184&view=diff
==============================================================================
--- incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/transaction/NodeTableTrans.java (original)
+++ incubator/jena/Jena2/TDB/trunk/src/main/java/com/hp/hpl/jena/tdb/transaction/NodeTableTrans.java Tue Nov 22 21:40:56 2011
@@ -155,7 +155,8 @@ public class NodeTableTrans implements N
         journalStartOffset = journal.length() ;
         if ( journalStartOffset != 0 )
             System.err.printf("\njournalStartOffset not zero: %d/0x%02X\n",journalStartOffset, journalStartOffset) ;
-        
+//        journalStartOffset = 0 ;    // TEMP
+//        journal.truncate(0) ;       // TEMP
         offset += journalStartOffset ;
         
         //debug("begin: %s %s", txn.getLabel(), label) ;
@@ -200,6 +201,7 @@ public class NodeTableTrans implements N
         System.err.println("txn = "+txn) ;
         System.err.println("offset = "+offset) ;
         System.err.println("journalStartOffset = "+journalStartOffset) ;
+        System.err.println("journal = "+journal.getLabel()) ;
         
         Iterator<Pair<NodeId, Node>> iter = nodeTableJournal.all() ;
         for ( ; iter.hasNext() ; )

Modified: incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/Jena163_TDBDifferentIds.java
URL: http://svn.apache.org/viewvc/incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/Jena163_TDBDifferentIds.java?rev=1205184&r1=1205183&r2=1205184&view=diff
==============================================================================
--- incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/Jena163_TDBDifferentIds.java (original)
+++ incubator/jena/Scratch/AFS/Jena-Dev/trunk/src/dev/Jena163_TDBDifferentIds.java Tue Nov 22 21:40:56 2011
@@ -72,7 +72,7 @@ public class Jena163_TDBDifferentIds
             log.error("**** Running with file mapped mode on MS Windows - expected test failure") ;
     }
     
-    static boolean MEM = false ;
+    static boolean MEM = true ;
     
     static final Location LOC = MEM ? Location.mem() : new Location(ConfigTest.getTestingDirDB()) ;