Update of /cvsroot/monetdb/pathfinder/compiler
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17407/compiler
Modified Files:
Tag: M5XQ
main_sql.c
Log Message:
propagated changes of Friday Jun 12 2009
from the development trunk to the M5XQ branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/06/12 - sjoerd: compiler/main_sql.c,1.11
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.7.2.2
retrieving revision 1.7.2.3
diff -u -d -r1.7.2.2 -r1.7.2.3
--- main_sql.c 12 May 2009 13:34:39 -0000 1.7.2.2
+++ main_sql.c 12 Jun 2009 08:01:30 -0000 1.7.2.3
@@ -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