Update of /cvsroot/monetdb/pathfinder/compiler
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv19796/compiler
Modified Files:
Tag: M5XQ
compile.c
Log Message:
propagated changes of Friday Oct 16 2009
from the development trunk to the M5XQ branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/10/16 - sjoerd: compiler/compile.c,1.185
propagated changes of Friday Oct 16 2009
from the Nov2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/10/16 - sjoerd: compiler/compile.c,1.182.4.2
propagated changes of Friday Oct 16 2009
from the Aug2009_NFI branch to the Nov2009 branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/10/16 - tsheyar: compiler/compile.c,1.182.6.3
-- 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.172.2.10
retrieving revision 1.172.2.11
diff -u -d -r1.172.2.10 -r1.172.2.11
--- compile.c 7 Oct 2009 14:22:16 -0000 1.172.2.10
+++ compile.c 16 Oct 2009 08:51:40 -0000 1.172.2.11
@@ -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