Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16:/tmp/cvs-serv11131
Modified Files:
pathfinder.mx
Log Message:
Assign to-be-inserted and to-be-deleted values to appropriate variables.
Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.330
retrieving revision 1.331
diff -u -d -r1.330 -r1.331
--- pathfinder.mx 12 Apr 2007 09:25:37 -0000 1.330
+++ pathfinder.mx 12 Apr 2007 15:52:45 -0000 1.331
@@ -2271,8 +2271,8 @@
iter_cand := iter_hsh.leftjoin(vx_hsh_nid); # main lookup
var iter_ins := empty_bat;
var iter_del := empty_bat;
- if (count(vx_hsh_nid_ins) > 0) iter_hsh.leftjoin(vx_hsh_nid_ins);
- if (count(vx_hsh_nid_del) > 0) iter_hsh.leftjoin(vx_hsh_nid_del);
+ 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 (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