Update of /cvsroot/monetdb/MonetDB5/src/optimizer
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19513/src/optimizer
Modified Files:
Tag: MonetDB_5-2
opt_evaluate.mx
Log Message:
fixed another leak (variable env was overwriten in each iteration, ie only the
last stack was cleanup)
Index: opt_evaluate.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_evaluate.mx,v
retrieving revision 1.8
retrieving revision 1.8.4.1
diff -u -d -r1.8 -r1.8.4.1
--- opt_evaluate.mx 16 Jul 2007 10:52:38 -0000 1.8
+++ opt_evaluate.mx 29 Oct 2007 07:20:30 -0000 1.8.4.1
@@ -99,11 +99,11 @@
#endif
setLifespan(mb);
+ env= prepareMALstack(mb);
+ env->keepAlive= TRUE;
do{
again = 0;
limit = mb->stop;
- env= prepareMALstack(mb);
- env->keepAlive= TRUE;
nxt= first;
for (k=i= first ; i < limit; i++) {
p = getInstrPtr(mb,i);
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins