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

Modified Files:
        milgen.brg 
Log Message:
-- Various bugfixes
   * Cope with nested recursion correctly.
   * Remove superfluous recursion arguments.
   * Adjust the schema of the semijoin operator correctly.



Index: milgen.brg
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/mil/milgen.brg,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- milgen.brg  23 Jan 2007 14:05:44 -0000      1.71
+++ milgen.brg  13 Feb 2007 16:44:26 -0000      1.72
@@ -590,10 +590,16 @@
     PFmilgen_kids (p, rule, kids);
     
     switch (rule) {
+        /* Rel:      rec_fix (Rec, Rel) */
+        case 132:
+            /* only follow the parameters */
+            reduce_border (kids[0], nts[0], border_vars);
+            break;
+            
         /* Rec:      rec_param (rec_arg (Rel, Rel), Rec) */
         case 133:
             /* only follow the seeds */
-            reduce (kids[0], nts[0]);
+            reduce_border (kids[0], nts[0], border_vars);
             /* and the rest of the parameter list */
             reduce_border (kids[2], nts[2], border_vars);
             break;
@@ -838,7 +844,7 @@
             pos_body = 1; /* discard the seed */
         /* Rec:      rec_param (rec_arg (empty_tbl, Rel), Rec) */
         case 134:
-            /* only generate MIL code for the seed */
+            /* only generate MIL code for the body */
             reduce (kids[pos_body], nts[pos_body]);
             /* translate all the remaining parts of the body */
             reduce2 (kids[pos_body + 1], nts[pos_body + 1]);


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to