Update of /cvsroot/monetdb/sql/src/server
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv2829/src/server
Modified Files:
Tag: SQL_2-16
sql_parser.mx
Log Message:
lld -> LLFMT
Index: sql_parser.mx
===================================================================
RCS file: /cvsroot/monetdb/sql/src/server/sql_parser.mx,v
retrieving revision 1.231.2.10
retrieving revision 1.231.2.11
diff -u -d -r1.231.2.10 -r1.231.2.11
--- sql_parser.mx 31 Mar 2007 09:23:47 -0000 1.231.2.10
+++ sql_parser.mx 31 Mar 2007 18:47:27 -0000 1.231.2.11
@@ -3947,7 +3947,7 @@
{ if ($3 > 18) {
char buf[BUFSIZ];
- snprintf(buf, BUFSIZ, "decimal of %lld digits
are not supported", $3);
+ snprintf(buf, BUFSIZ, "decimal of " LLFMT "
digits are not supported", $3);
yyerror(buf);
$$.type = NULL;
YYABORT;
@@ -3960,9 +3960,9 @@
char buf[BUFSIZ];
if ($5 >= $3)
- snprintf(buf, BUFSIZ, "scale (%lld)
should be less than precision (%lld)", $5, $3);
+ snprintf(buf, BUFSIZ, "scale (" LLFMT
") should be less than precision (" LLFMT ")", $5, $3);
else
- snprintf(buf, BUFSIZ,
"decimal(%lld,%lld) isn't supported because P=%lld + S=%lld > 18", $3, $5, $3,
$5);
+ snprintf(buf, BUFSIZ, "decimal(" LLFMT
","LLFMT") isn't supported because P="LLFMT" + S="LLFMT" > 18", $3, $5, $3, $5);
yyerror(buf);
$$.type = NULL;
YYABORT;
@@ -3988,7 +3988,7 @@
{ if ($5 >= $3) {
char buf[BUFSIZ];
- snprintf(buf, BUFSIZ, "precision(%lld) should
be less than number of digits(%lld)", $5, $3);
+ snprintf(buf, BUFSIZ, "precision(" LLFMT ")
should be less than number of digits(" LLFMT ")", $5, $3);
yyerror(buf);
$$.type = NULL;
YYABORT;
@@ -4019,7 +4019,7 @@
{ if ($5 >= $3) {
char buf[BUFSIZ];
- snprintf(buf, BUFSIZ, "precision(%lld) should
be less than number of digits(%lld)", $5, $3);
+ snprintf(buf, BUFSIZ, "precision(" LLFMT ")
should be less than number of digits(" LLFMT ")", $5, $3);
yyerror(buf);
$$.type = NULL;
YYABORT;
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins