Update of /cvsroot/monetdb/pathfinder/runtime
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv2053
Modified Files:
Tag: xquery-decomposition
serialize.mx
Log Message:
valgrind complains about this line:
Bad permissions for mapped region at address
It seems that, this happens if a constant string has been passed as 'mode'
Should check stable and current branch if this problem also exists, or
is it caused by my code.
Index: serialize.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/serialize.mx,v
retrieving revision 1.105.2.3
retrieving revision 1.105.2.4
diff -u -d -r1.105.2.3 -r1.105.2.4
--- serialize.mx 24 Feb 2008 20:20:02 -0000 1.105.2.3
+++ serialize.mx 10 Mar 2008 01:58:29 -0000 1.105.2.4
@@ -1354,7 +1354,7 @@
/* user specified result tag */
restag = match(mode,"root");
if (restag && restag[4]) {
- *restag = 0; /* cut off the suffix not to have false matches later
*/
+ restag[0] = '\0'; /* cut off the suffix not to have false matches
later */
restag += 5; /* rest of mode is root tag */
} else {
restag = "XQueryResult"; /* default root tag */
-------------------------------------------------------------------------
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-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins