Martin Kersten wrote:
Update of /cvsroot/monetdb/MonetDB5/src/optimizer In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24665
Modified Files: Tag: MonetDB_5-6 opt_recycler.mx Log Message: Since we may introduce new instructions and variables, the recycled[] object may have been too small. The recycler is feature and it is used in the current branch.
It is not tested in the stable and it might stop to be compiled in the stable. All the implementation related to the recycler should be checked in at the current one and not in the stable one. This avoids problems in the stable and saves time in the recycler development (I do not need to wait for the propagations to have an actualized code)... I am going to revert this change, and do it in the current Note: Martin is aware of this... :) Regards, Romulo
U opt_recycler.mx Index: opt_recycler.mx =================================================================== RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_recycler.mx,v retrieving revision 1.23.2.1 retrieving revision 1.23.2.2 diff -u -d -r1.23.2.1 -r1.23.2.2 --- opt_recycler.mx 31 May 2008 16:29:54 -0000 1.23.2.1 +++ opt_recycler.mx 2 Jun 2008 20:26:08 -0000 1.23.2.2 @@ -107,7 +107,8 @@
(void) cntxt; (void) stk; - recycled= GDKzalloc(sizeof(char)*mb->vtop); + /* watch out, instructions may introduce new variables */ + recycled= GDKzalloc(sizeof(char)*mb->vtop*2); setLifespan(mb,span); limit= mb->stop; old = mb->stmt;
------------------------------------------------------------------------- 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 Monetdb-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-checkins