Update of /cvsroot/monetdb/sql/src/backends/monet5
In directory
sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv32659/sql/src/backends/monet5
Modified Files:
Tag: Feb2010
sql.mx
Log Message:
clean-up: removed useless condition:
If msg is equal to "default_pipe",
it is (obviously) not equal to varname,
which is known to be equal to "optimizer".
Index: sql.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/backends/monet5/sql.mx,v
retrieving revision 1.389.2.9
retrieving revision 1.389.2.10
diff -u -d -r1.389.2.9 -r1.389.2.10
--- sql.mx 22 Feb 2010 16:02:56 -0000 1.389.2.9
+++ sql.mx 8 Apr 2010 16:39:50 -0000 1.389.2.10
@@ -1864,7 +1864,7 @@
throw(SQL, "sql.setVariable", "failed");
if ( strcmp("optimizer", varname)== 0) {
msg = setOptimizers(*(str *) getArgReference(stk,pci,2));
- if ( msg != NULL && strcmp(msg,"default_pipe") == 0 &&
strcmp(msg,varname))
+ if ( msg != NULL && strcmp(msg,"default_pipe") == 0 )
return MAL_SUCCEED;
msg = SQLvalidatePipeline();
if ( msg ){
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins