Update of /cvsroot/monetdb/pathfinder/compiler
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv2789
Modified Files:
Tag: May2009
compile.c main_sql.c
Log Message:
-- Wrap SQL query bundle in CDATA tags to escape some characters.
U compile.c
Index: compile.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/compile.c,v
retrieving revision 1.177
retrieving revision 1.177.2.1
diff -u -d -r1.177 -r1.177.2.1
--- compile.c 15 May 2009 13:52:57 -0000 1.177
+++ compile.c 10 Jun 2009 16:02:22 -0000 1.177.2.1
@@ -707,7 +707,8 @@
PFcol_str (clat (laroot->sem.ser_rel.items, c)),
c);
fprintf (pfout, "</schema>\n"
- "<query>\n");
+ "<query>"
+ "<![CDATA[\n");
i++;
}
@@ -740,7 +741,8 @@
/* plan bundle emits SQL code wrapped in XML tags */
if (lapb)
- fprintf (pfout, "</query>\n"
+ fprintf (pfout, "]]>"
+ "</query>\n"
"</query_plan>\n");
/* iterate over the plans in the plan bundle */
U main_sql.c
Index: main_sql.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/main_sql.c,v
retrieving revision 1.10
retrieving revision 1.10.2.1
diff -u -d -r1.10 -r1.10.2.1
--- main_sql.c 11 May 2009 16:18:37 -0000 1.10
+++ main_sql.c 10 Jun 2009 16:02:23 -0000 1.10.2.1
@@ -378,7 +378,8 @@
PFcol_str (clat (laroot->sem.ser_rel.items, c)),
c);
fprintf (stdout, "</schema>\n"
- "<query>\n");
+ "<query>"
+ "<![CDATA[\n");
i++;
}
@@ -414,7 +415,8 @@
/* plan bundle emits SQL code wrapped in XML tags */
if (lapb)
- fprintf (stdout, "</query>\n"
+ fprintf (stdout, "]]>"
+ "</query>\n"
"</query_plan>\n");
/* iterate over the plans in the plan bundle */
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins