Update of /cvsroot/monetdb/MonetDB5/src/mal
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16320
Modified Files:
mal_builder.mx
Log Message:
Make sure it copies string values correctly.
Index: mal_builder.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/mal/mal_builder.mx,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- mal_builder.mx 28 Aug 2007 07:46:59 -0000 1.25
+++ mal_builder.mx 28 Aug 2007 19:56:41 -0000 1.26
@@ -330,10 +330,13 @@
}
InstrPtr
-pushValue(MalBlkPtr mb, InstrPtr q, ValPtr cst)
+pushValue(MalBlkPtr mb, InstrPtr q, ValPtr vr)
{
int _t;
- _t = defConstant(mb,cst->vtype,cst);
+ ValRecord cst;
+ VALcopy(&cst, vr);
+
+ _t = defConstant(mb,cst.vtype,&cst);
return pushArgument(mb, q, _t);
}
@}
-------------------------------------------------------------------------
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