Update of /cvsroot/monetdb/pathfinder/compiler
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16589/compiler

Modified Files:
        compile.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/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.179
retrieving revision 1.180
diff -u -d -r1.179 -r1.180
--- compile.c   25 May 2009 08:44:18 -0000      1.179
+++ compile.c   12 Jun 2009 07:56:42 -0000      1.180
@@ -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

Reply via email to