Update of /cvsroot/monetdb/sql/src/backends/monet5/merovingian
In directory 
23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv4212/src/backends/monet5/merovingian

Modified Files:
        merovingian.c 
Log Message:
propagated changes of Thursday Oct 08 2009
from the Nov2009 branch to the development trunk

  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2009/10/08 - mr-meltdown:
          src/backends/monet5/merovingian/merovingian.c,1.65.2.3
  Add optpipe setting to control the SQL optimiser pipeline, useful for 
experimentation per database, implemented a FIXME and string abbreviation like 
monetdb status does for monetdb get.
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Index: merovingian.c
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/merovingian/merovingian.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- merovingian.c       1 Oct 2009 14:24:59 -0000       1.67
+++ merovingian.c       8 Oct 2009 13:35:40 -0000       1.68
@@ -446,6 +446,7 @@
                {"prefix",             GDKstrdup(MONETDB5_PREFIX), STR},
                {"gdk_dbfarm",         NULL,                       STR},
                {"gdk_nr_threads",     NULL,                       INT},
+               {"sql_optimizer",      NULL,                       STR},
                {"mero_msglog",        NULL,                       STR},
                {"mero_errlog",        NULL,                       STR},
                {"mero_port",          NULL,                       INT},
@@ -611,6 +612,12 @@
        kv->val = GDKstrdup("no");
        kv = findConfKey(_mero_props, "slave");
        kv->val = NULL; /* MURI */
+       kv = findConfKey(ckv, "sql_optimizer");
+       p = kv->val;
+       if (p != NULL) {
+               kv = findConfKey(_mero_props, "optpipe");
+               kv->val = GDKstrdup(p);
+       }
 
        /* we no longer need prefix */
        freeConfFile(ckv);


------------------------------------------------------------------------------
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

Reply via email to