On 03/31/2007 10:38 AM, Niels Nes wrote:
Update of /cvsroot/monetdb/sql/src/server In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv24338/server
Modified Files: Tag: SQL_2-16 sql_parser.mx Log Message: fixed error message about decimal types
Index: sql_parser.mx =================================================================== RCS file: /cvsroot/monetdb/sql/src/server/sql_parser.mx,v retrieving revision 1.231.2.8 retrieving revision 1.231.2.9 diff -u -d -r1.231.2.8 -r1.231.2.9 --- sql_parser.mx 31 Mar 2007 08:07:47 -0000 1.231.2.8 +++ sql_parser.mx 31 Mar 2007 08:38:44 -0000 1.231.2.9 @@ -3972,7 +3972,7 @@ if ($5 >= $3) snprintf(buf, BUFSIZ, "scale (%lld) should be less than precision (%lld)", $5, $3); else - snprintf(buf, BUFSIZ, "decimal(%lld,%lld) isn't supported", $5, $3); + snprintf(buf, BUFSIZ, "decimal(%lld,%lld) isn't supported because P=%lld + S=%lld > 18", $3, $5, $3, $5);
That should of course be LLFMT, right?
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 Monetdb-sql-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins
-- Sjoerd Mullender