Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16684/src/backends/monet5
Modified Files:
sql_optimizer.mx
Log Message:
propagated changes of Thursday Oct 22 2009
from the Nov2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/10/22 - mlkersten: src/backends/monet5/sql_optimizer.mx,1.230.2.1
Simplify switching between optimizer pipelines.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: sql_optimizer.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql_optimizer.mx,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -d -r1.231 -r1.232
--- sql_optimizer.mx 9 Oct 2009 20:50:00 -0000 1.231
+++ sql_optimizer.mx 22 Oct 2009 10:57:29 -0000 1.232
@@ -510,10 +510,14 @@
/* the optimizer control is a semicolon separated list of names */
/* the predefined 'default' injects the default plan upon need */
int top=0,i;
- char *base, *nxt, *nme;
+ char *base, *nxt, *nme, *pipe;
if (optimizerpipeline == optimizer || pipelineOverruled)
return;
+ pipe= GDKgetenv(optimizer);
+ if ( pipe != NULL)
+ optimizer= pipe;
+
optimizerpipeline= optimizer;
base= GDKstrdup(optimizer);
------------------------------------------------------------------------------
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-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins