Update of /cvsroot/monetdb/pathfinder/compiler/mil
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv24675

Modified Files:
        milprint_summer.c 
Log Message:
- slice pftijah results in milprint_summer. This is a preparation for the tijah-
countiall(query-id) function Arjen requested.



Index: milprint_summer.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/milprint_summer.c,v
retrieving revision 1.329
retrieving revision 1.330
diff -u -d -r1.329 -r1.330
--- milprint_summer.c   27 Feb 2007 09:59:07 -0000      1.329
+++ milprint_summer.c   1 Mar 2007 11:34:15 -0000       1.330
@@ -8083,6 +8083,10 @@
        /* execute tijah query */
        milprintf(f,
                 "    var nexi_score := 
run_tijah_query(optbat,startNodes,item%s%03u.fetch(int($h)));\n"
+               "    if ( optbat.exist(\"returnNumber\") ) {\n"
+               "        var retNum := int(optbat.find(\"returnNumber\"));\n"
+               "        nexi_score := nexi_score.slice(0, retNum - 1);\n"
+               "    }\n"
                , item_ext, str_counter);
        
            /* translate tijah-pre to pf-pre */


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