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

Modified Files:
        pathfinder.mx 
Log Message:
We need a version of deleteBuns that doesn't fail if a to-be-deleted
BUN isn't present in the BAT.


Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.332
retrieving revision 1.333
diff -u -d -r1.332 -r1.333
--- pathfinder.mx       12 Apr 2007 16:02:56 -0000      1.332
+++ pathfinder.mx       12 Apr 2007 17:07:07 -0000      1.333
@@ -2273,7 +2273,7 @@
         var iter_ins  := empty_bat;
         var iter_del  := empty_bat;
         if (count(vx_hsh_nid_ins) > 0) iter_ins := 
iter_hsh.leftjoin(vx_hsh_nid_ins);
-        if (count(vx_hsh_nid_del) > 0) iter_del := 
iter_hsh.leftjoin(vx_hsh_nid_del);
+        if (count(vx_hsh_nid_del) > 0) iter_del := 
sintersect(iter_hsh.leftjoin(vx_hsh_nid_del), iter_cand);
         if (bit(count(iter_ins) + count(iter_del))) {
            # avoid doing this when ins/del are empty: res maybe a view on idx 
(readonly case)
            
iter_cand.access(BAT_WRITE).insert(iter_ins).deleteBuns(iter_del).access(BAT_READ);


-------------------------------------------------------------------------
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