Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16:/tmp/cvs-serv29064

Modified Files:
        pathfinder.mx 
Log Message:
- solved recently introduced problem met read-only indexing



Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.327
retrieving revision 1.328
diff -u -d -r1.327 -r1.328
--- pathfinder.mx       11 Apr 2007 08:55:17 -0000      1.327
+++ pathfinder.mx       11 Apr 2007 09:54:36 -0000      1.328
@@ -2000,7 +2000,7 @@
         # idx [qn,pre] lexico-ordered (thanks to stable-sort)
         idx := 
idx.access(BAT_WRITE).sorder().access(BAT_READ).rename(nme).mmap(1).persists(true);
         tmp := merged_union(vxm.hmark([EMAIL PROTECTED]), tmp.hmark([EMAIL 
PROTECTED]), vxm.tmark([EMAIL PROTECTED]), tmp.tmark([EMAIL PROTECTED])); vxm 
:= nil; 
-        vxm := reverse(tmp.fetch(0)).leftfetchjoin(tmp.fetch(1)); 
+        vxm := 
reverse(tmp.fetch(0)).leftfetchjoin(tmp.fetch(1)).rename(vx_nme).mmap(1).persists(true);
 
         if (pre = [EMAIL PROTECTED]) 
CATCH(pf_checkpoint(bat(void,str).append(nme).append(vx_nme))); # immediate 
commit
     }
     return new(void,bat).insert(nil,idx).insert(nil,vxm);


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to