Update of /cvsroot/monetdb/pathfinder/compiler
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17391/compiler
Modified Files:
Tag: M5XQ
compile.c
Log Message:
propagated changes of Friday Jun 12 2009
from the development trunk to the M5XQ branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/06/12 - sjoerd: compiler/compile.c,1.180
propagated changes of Wednesday Jun 10 2009 - Friday Jun 12 2009
from the May2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/06/10 - tsheyar: compiler/compile.c,1.177.2.1
-- 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.172.2.5
retrieving revision 1.172.2.6
diff -u -d -r1.172.2.5 -r1.172.2.6
--- compile.c 26 May 2009 15:38:47 -0000 1.172.2.5
+++ compile.c 12 Jun 2009 08:01:26 -0000 1.172.2.6
@@ -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 */
------------------------------------------------------------------------------
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