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

Modified Files:
        sqlprint.c 
Log Message:
propagated changes of Monday May 18 2009
from the May2009 branch to the development trunk

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/05/18 - sjoerd: compiler/sql/sqlprint.c,1.52.2.1
Fix compiler warning: format not a string literal and no format arguments.
The compiler on Ubuntu Jaunty complains about this.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


U sqlprint.c
Index: sqlprint.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/sql/sqlprint.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- sqlprint.c  7 May 2009 14:29:35 -0000       1.52
+++ sqlprint.c  18 May 2009 15:20:12 -0000      1.53
@@ -167,9 +167,9 @@
     switch (L(n)->kind) {
         case sql_ser_type:
             fprintf (f, "-- ");
-            fprintf (f, L(L(n))->sem.atom.val.s);
+            fprintf (f, "%s", L(L(n))->sem.atom.val.s);
             fprintf (f, ": ");
-            fprintf (f, R(L(n))->sem.atom.val.s);
+            fprintf (f, "%s", R(L(n))->sem.atom.val.s);
             break;
         case sql_ser_comment:
             fprintf (f, "-- !! %s !!", L(n)->sem.comment.str);


------------------------------------------------------------------------------
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