Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24885
Modified Files:
mal_recycle.mx
Log Message:
Make sure the code is visible to the compiler.
Index: mal_recycle.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_recycle.mx,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- mal_recycle.mx 4 Mar 2008 20:14:33 -0000 1.10
+++ mal_recycle.mx 5 Mar 2008 08:58:59 -0000 1.11
@@ -471,16 +471,16 @@
#endif
}
}
[EMAIL PROTECTED]
@-
At the end of the session we have to cleanup the recycle cache.
-@
[EMAIL PROTECTED]
str
-RECYLEshutdown(int *ret){
+RECYCLEshutdown(int *ret){
InstrPtr q;
int i,j;
MalBlkPtr mb;
+ (void)ret;
if( recycleBlk == NULL)
return MAL_SUCCEED;
@@ -492,11 +492,12 @@
for(i=0; i< mb->stop; i++){
q= getInstrPtr(mb,i);
for(j=0; j< q->argc; j++)
- if( isVarConstant(mb,getArg(q,j)) {
+ if( isVarConstant(mb,getArg(q,j)) ){
if( isaBatType(getArgType(mb, q,j)) )
-
BBPreleaseref(getVarConstant(mb,getArg(q,j)).val.bval));
+
BBPreleaseref(getVarConstant(mb,getArg(q,j)).val.bval);
}
}
freeMalBlk(mb);
return MAL_SUCCEED;
}
[EMAIL PROTECTED]
-------------------------------------------------------------------------
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