Update of /cvsroot/monetdb/pathfinder/compiler
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22998/compiler

Modified Files:
        compile.c 
Log Message:


Simple recursion support for the SQL generator for

   with $x seeded by expr recurse expr

SQL allows to express simple recursive statements using the
WITH RECURSIVE clause. In the core to algebra translation we
now have two recursion-strategies (for MIL and SQL) with different
behaviours.
The SQL variant, for example, cannot cope with non-DELTA evaluation
due to its inherent restrictions.




Index: compile.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/compile.c,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -d -r1.143 -r1.144
--- compile.c   17 Mar 2008 17:41:05 -0000      1.143
+++ compile.c   19 Mar 2008 10:58:21 -0000      1.144
@@ -589,7 +589,8 @@
      */
     tm = PFtimer_start ();
 
-    laroot = PFcore2alg (croot, &PFquery);
+    laroot = PFcore2alg (croot, &PFquery,
+                         status->output_format);
 
     tm = PFtimer_stop (tm);
     if (status->timing)
@@ -938,7 +939,8 @@
         strcpy (*epilogue, intern_epilogue);
     } else {
         /* compile into logical algebra */
-        laroot = PFcore2alg (croot, &PFquery);
+        laroot = PFcore2alg (croot, &PFquery,
+                             PFstate.output_format);
         /* optimize logical algebra */
         laroot = PFalgopt (laroot, false /* no timing output */, 
             NULL /* no guide tree */, PFstate.opt_alg);


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to