[Mulgara-svn] r1709 - trunk/src/jar/store-stringpool-memory/java/org/mulgara/store/stringpool/memory

pag at mulgara.org pag at mulgara.org
Sat May 30 02:28:27 UTC 2009


Author: pag
Date: 2009-05-29 19:28:26 -0700 (Fri, 29 May 2009)
New Revision: 1709

Modified:
   trunk/src/jar/store-stringpool-memory/java/org/mulgara/store/stringpool/memory/MemoryStringPoolImpl.java
Log:
Fixed a bug where tuples from the temporary stringpool were being returned as positive numbers, meaning they were being globalized using the peristent store and not the temporary store.

Modified: trunk/src/jar/store-stringpool-memory/java/org/mulgara/store/stringpool/memory/MemoryStringPoolImpl.java
===================================================================
--- trunk/src/jar/store-stringpool-memory/java/org/mulgara/store/stringpool/memory/MemoryStringPoolImpl.java	2009-05-30 02:25:48 UTC (rev 1708)
+++ trunk/src/jar/store-stringpool-memory/java/org/mulgara/store/stringpool/memory/MemoryStringPoolImpl.java	2009-05-30 02:28:26 UTC (rev 1709)
@@ -620,7 +620,7 @@
       if (column != 0) {
         throw new TuplesException("Column does not exist");
       }
-      return stringToNodePool.get(currentRow);
+      return -stringToNodePool.get(currentRow);
     }
 
     /** {@inheritDoc} */




More information about the Mulgara-svn mailing list