Update of /cvsroot/monetdb/pathfinder/compiler
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv11487/compiler

Modified Files:
      Tag: Aug2009_NFI
        compile.c 
Log Message:
-- Partial undo of Peters checkin: optimizations for NFI XIRAF use case (Sep, 
29)

   The session information is not detected by the mclient pre-parser anymore.
   (For more information on the replacement continue reading...)

-- Added detection of session information in the pathfinder compiler.
  
   The new version now looks for the global options 'pf:session-id',
   'pf:session-timeout', and 'pf:session-mode'. In addition pathfinder
   internally transforms the 'old' solution (session pragmas) into global
   options.

   Example: The following queries are now equivalent -- they both use session
   'foo' in a read-only scenario and keep it alive for another 42 milliseconds:

   declare option pf:session-id "foo";
   declare option pf:session-timeout "42";
   declare option pf:session-mode "use-cache-repeatable";
   1

   (# pf:session-use foo:42 #) { 1 }
    


U compile.c
Index: compile.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/compile.c,v
retrieving revision 1.182.6.2
retrieving revision 1.182.6.3
diff -u -d -r1.182.6.2 -r1.182.6.3
--- compile.c   6 Oct 2009 17:22:46 -0000       1.182.6.2
+++ compile.c   16 Oct 2009 08:10:20 -0000      1.182.6.3
@@ -784,7 +784,7 @@
 
     /* Map physical algebra to MIL */
     tm = PFtimer_start ();
-    mroot = PFmilgen (paroot, status->genType, NULL, NULL, 30000);
+    mroot = PFmilgen (paroot, status->genType);
     tm = PFtimer_stop (tm);
 
     if (status->timing)
@@ -946,7 +946,7 @@
 char*
 PFcompile_MonetDB (char *xquery, char* url,
                    char** prologue, char** query, char** epilogue,
-                   int options, char *genType, char *qid, char *mode, long 
long timeout)
+                   int options, char *genType)
 {
         PFstate_t PFstate;
         PFpnode_t  *proot  = NULL;
@@ -1067,7 +1067,7 @@
         paroot = PFpa_intro_borders (paroot);
 
         /* generate internal MIL representation */
-        mroot = PFmilgen (paroot, genType, qid, mode, timeout);
+        mroot = PFmilgen (paroot, genType);
 
         if (!strncmp ("timing", genType, 6))
             /* make sure the timing variables are retained */


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to