Update of /cvsroot/monetdb/pathfinder/compiler
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16629/compiler
Modified Files:
main_sql.c
Log Message:
propagated changes of Wednesday Jun 10 2009 - Friday Jun 12 2009
from the May2009 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/06/10 - tsheyar: compiler/main_sql.c,1.10.2.1
-- Wrap SQL query bundle in CDATA tags to escape some characters.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.11
diff -u -d -r1.10 -r1.11
--- main_sql.c 11 May 2009 16:18:37 -0000 1.10
+++ main_sql.c 12 Jun 2009 07:56:46 -0000 1.11
@@ -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