Update of /cvsroot/monetdb/pathfinder/compiler/include
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22998/compiler/include
Modified Files:
compile.h core2alg.h
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.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/compile.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- compile.h 25 Feb 2008 15:37:06 -0000 1.10
+++ compile.h 19 Mar 2008 10:58:50 -0000 1.11
@@ -33,6 +33,8 @@
#ifndef COMPILE_H
#define COMPILE_H
+#include <stdio.h>
+
/**
* Has the Pathfinder compiler been invoked on the command line,
* or from within MonetDB?
Index: core2alg.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/core2alg.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- core2alg.h 25 Feb 2008 15:37:06 -0000 1.17
+++ core2alg.h 19 Mar 2008 10:58:51 -0000 1.18
@@ -32,13 +32,16 @@
#ifndef CORE2ALG_H
#define CORE2ALG_H
+#include "compile.h"
+
#include "array.h"
#include "core.h"
#include "pf_xq.h"
/** Compile XQuery Core into Relational Algebra */
-struct PFla_op_t *PFcore2alg (PFcnode_t *, PFquery_t *PFquery);
+struct PFla_op_t *PFcore2alg (PFcnode_t *, PFquery_t *PFquery,
+ enum PFoutput_format_t output_format);
/* ............. environment entry specification .............. */
-------------------------------------------------------------------------
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