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

Modified Files:
        pathfinder.mx 
Log Message:
[ 1698498 ] id-function fails to locate some kinds of nodes

off by one error



Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.335
retrieving revision 1.336
diff -u -d -r1.335 -r1.336
--- pathfinder.mx       17 Apr 2007 13:16:18 -0000      1.335
+++ pathfinder.mx       17 Apr 2007 14:30:35 -0000      1.336
@@ -2426,7 +2426,7 @@
         # for all specified document roots in this container (ONLY!), insert 
the found results
         split_rootpre.tsort().tunique()@batloop() {
             var pre   := $h;
-            var limit := oid(lng(pre) + lng(pre_size.find(pre)) - lng(1));
+            var limit := oid(lng(pre) + lng(pre_size.find(pre)));
             var ins   := id_pre.ord_select(pre,limit);
                          # make ins [iter,pre] unique; exploiting pre_order
             var unq   := kunique(reverse(CTrefine(ins.tmark([EMAIL 
PROTECTED]), ins.hmark([EMAIL PROTECTED]))));


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to