Update of /cvsroot/monetdb/MonetDB5/src/optimizer
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13140
Modified Files:
opt_remap.mx
Log Message:
A little more precise on the requirements for remapping attempts
Index: opt_remap.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_remap.mx,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- opt_remap.mx 1 Jun 2007 09:22:41 -0000 1.8
+++ opt_remap.mx 2 Jun 2007 21:19:36 -0000 1.9
@@ -142,7 +142,8 @@
getFunctionId(pci) != multiplexRef &&
!isConstant(mb,getArg(pci,1)) &&
!isConstant(mb,getArg(pci,2)) &&
- !isConstant(mb,getArg(pci,4)))
+ !isConstant(mb,getArg(pci,4)) &&
+ pci->argc != 5)
return 0;
fcn = VALget(&getVar(mb, getArg(pci, 2))->value);
for(i=0;OperatorMap[i].src;i++)
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins