Update of /cvsroot/monetdb/sql/src/server
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv11900
Modified Files:
Tag: Nov2009
sql_env.mx
Log Message:
Detect also the omission of an optimizer pipe.
Index: sql_env.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_env.mx,v
retrieving revision 1.79.8.1
retrieving revision 1.79.8.2
diff -u -d -r1.79.8.1 -r1.79.8.2
--- sql_env.mx 22 Oct 2009 09:46:47 -0000 1.79.8.1
+++ sql_env.mx 23 Oct 2009 11:52:18 -0000 1.79.8.2
@@ -118,8 +118,9 @@
return sql_message( "Cannot activate history because
the keepQuery and keepCall procedures are not available\n" );
m->history = (int) (sgn)?1:0;
} else if (strcmp(name, "optimizer") == 0) {
- str pipe=GDKgetenv(stack_get_string(m,"optimizer"));
- if ( pipe == NULL)
+ str optimizer =stack_get_string(m,"optimizer");
+ str pipe=GDKgetenv(optimizer);
+ if ( pipe == NULL && strcmp(optimizer,"none"))
return sql_message( "Optimizer pipeline not known\n");
}
return NULL;
------------------------------------------------------------------------------
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