Update of /cvsroot/monetdb/MonetDB5/src/optimizer
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12234
Modified Files:
opt_recycler.mx
Log Message:
Set the recylcing for algebraic operations.
Index: opt_recycler.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_recycler.mx,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- opt_recycler.mx 2 Mar 2008 11:20:56 -0000 1.2
+++ opt_recycler.mx 4 Mar 2008 09:20:43 -0000 1.3
@@ -77,6 +77,17 @@
#endif
}
}
+ /* take care of semantic driven recyling */
+ if( getFunctionId(p)== uselectRef ||
+ getFunctionId(p)== selectRef ||
+ getFunctionId(p)== markTRef ||
+ getFunctionId(p)== joinRef ||
+ getFunctionId(p)== semijoinRef
+ ){
+ actions ++;
+ p->recycle = 1; /* this instruction is to be monitored
*/
+ setVarRecycled(mb, getArg(p,0));
+ }
}
if( actions)
mb->version= -1; /* will trigger the recycler runtime
support */
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins