Update of /cvsroot/monetdb/pathfinder/compiler/sql
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv16503/compiler/sql
Modified Files:
Tag: M5XQ
sqlprint.c
Log Message:
propagated changes of Monday May 18 2009
from the development trunk to the M5XQ branch
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2009/05/18 - sjoerd: compiler/sql/sqlprint.c,1.53
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.51.2.1
retrieving revision 1.51.2.2
diff -u -d -r1.51.2.1 -r1.51.2.2
--- sqlprint.c 7 May 2009 14:48:22 -0000 1.51.2.1
+++ sqlprint.c 18 May 2009 15:24:42 -0000 1.51.2.2
@@ -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