Update of /cvsroot/monetdb/sql/src/server
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17106
Modified Files:
Tag: Nov2009
sql_env.mx
Log Message:
Backward compatible use of optimizer='off'
Index: sql_env.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_env.mx,v
retrieving revision 1.79.8.2
retrieving revision 1.79.8.3
diff -u -d -r1.79.8.2 -r1.79.8.3
--- sql_env.mx 23 Oct 2009 11:52:18 -0000 1.79.8.2
+++ sql_env.mx 23 Oct 2009 19:27:15 -0000 1.79.8.3
@@ -120,7 +120,9 @@
} else if (strcmp(name, "optimizer") == 0) {
str optimizer =stack_get_string(m,"optimizer");
str pipe=GDKgetenv(optimizer);
- if ( pipe == NULL && strcmp(optimizer,"none"))
+ if ( optimizer == NULL || *optimizer == 0)
+ return NULL;
+ if ( pipe == NULL && strcmp(optimizer,"off"))
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