Milena Ivanova wrote:
Update of /cvsroot/monetdb/MonetDB5/src/modules/mal In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27013/mal
Modified Files: recycle.mx Log Message: Reset is called after an update instruction to clean the recycle cache.
U recycle.mx Index: recycle.mx =================================================================== RCS file: /cvsroot/monetdb/MonetDB5/src/modules/mal/recycle.mx,v retrieving revision 1.27 retrieving revision 1.28 diff -u -d -r1.27 -r1.28 --- recycle.mx 5 Jun 2008 08:37:43 -0000 1.27 +++ recycle.mx 6 Jun 2008 14:00:22 -0000 1.28 @@ -70,7 +70,7 @@ command getCachePolicy():int address RECYCLEgetCache;
-pattern reset():void +pattern reset(bid:bat):void Is the optimized aware of this change? It might call for the command with wrong number of arguments and it might break several sql tests...
Romulo
address RECYCLEresetCMD comment "Reset off all recycled variables";
@@ -78,11 +78,6 @@ address RECYCLEshutdownWrap comment "Clear the recycle cache";
-command restore():void -address RECYCLErestore -comment "Restore the recycle cache to the start of the call"; - - command monitor(f:int):void address RECYCLEmonitor comment "start/stop the monitoring (printing) of the recycler info (storage size used and number of statements retained)"; @@ -207,7 +202,7 @@
/* and dump the statistics */ if (recycleBlk) - for(i=0; i< recycleBlk->stop; i++){ + for(i=1; i< recycleBlk->stop; i++){ stream_printf(cntxt->fdout,"# %4d lru= %8d cnt= %8d ticks= %9d rd= %9d wr= %9d %s\n", i, recycleBlk->profiler[i].clk, recycleBlk->profiler[i].counter,
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Monetdb-checkins mailing list Monetdb-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-checkins