Update of /cvsroot/monetdb/MonetDB5/src/optimizer
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25429
Modified Files:
opt_replicator.mx
Log Message:
Revert my last change...
Milena remark:
"n principle yes, but in this case I don't think so.
The vmap is the map to replicated variables, that can be used next time
the same query is executed, which is after rep.stop.
Pls, revert"
Thanks Milena....
Index: opt_replicator.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/optimizer/opt_replicator.mx,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- opt_replicator.mx 29 Feb 2008 13:13:20 -0000 1.24
+++ opt_replicator.mx 29 Feb 2008 13:29:03 -0000 1.25
@@ -132,7 +132,7 @@
opt_export str REPsemijoin(MalBlkPtr mb, MalStkPtr stk, InstrPtr pci);
opt_export str REPdump(int *ret);
opt_export str REPstart(MalBlkPtr mb, MalStkPtr stk, InstrPtr pci);
-opt_export str REPstop(MalStkPtr stk);
+opt_export str REPstop(void);
opt_export str REPsetRetain(int *ret, sht *p);
opt_export str REPsetReuse(int *ret, sht *p);
opt_export str REPsetCache(int *ret, sht *p);
@@ -242,10 +242,8 @@
}
-str REPstop(MalStkPtr s)
+str REPstop(void)
{
- if( s->blk->replica )
- GDKfree(((ReplicaRec*)s->blk->replica)->vmap);
replref--;
return MAL_SUCCEED;
}
-------------------------------------------------------------------------
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