Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12986

Modified Files:
      Tag: MonetDB_5-2
        mal_interpreter.mx 
Log Message:
fixed bug in the mal_interpreter. Bat ids were incorrectly stored in shorts,
leading to incorrect bat/incref/decref's etc.


Index: mal_interpreter.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_interpreter.mx,v
retrieving revision 1.196
retrieving revision 1.196.2.1
diff -u -d -r1.196 -r1.196.2.1
--- mal_interpreter.mx  10 Sep 2007 21:37:05 -0000      1.196
+++ mal_interpreter.mx  21 Sep 2007 08:25:21 -0000      1.196.2.1
@@ -403,7 +403,7 @@
        int exceptionVar, exceptionPC;
        str ret=0;
        int stamp= -1;
-       short *backup= (short*) alloca(mb->maxarg * sizeof(short));
+       bat *backup= (bat*) alloca(mb->maxarg * sizeof(bat));
        str *sbackup= (str*) alloca(mb->maxarg * sizeof(str));
        lng oldtimer=0;
        struct mallinfo oldMemory;
@@ -569,7 +569,7 @@
        int exceptionVar, exceptionPC;
        str ret=0;
        int stamp= -1;
-       short *backup= (short*) alloca(mb->maxarg * sizeof(short));
+       bat *backup= (bat*) alloca(mb->maxarg * sizeof(bat));
        str *sbackup= (str*) alloca(mb->maxarg * sizeof(str));
        lng oldtimer=0;
        struct mallinfo oldMemory;


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins

Reply via email to