db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yip Ng (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1587) INTEGER function cannot be abbreviated
Date Tue, 25 Jul 2006 23:29:15 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1587?page=all ]

Yip Ng updated DERBY-1587:

    Attachment: derby1587trunkdiff1.txt

derby1587trunkstat1.txt contains the files change against the trunk codeline and 
derby1587trunkdiff1.txt contains the patch and testcase output corrections in the lang suite
for DERBY-1587.  The fix is in the miscBuiltins() production in JavaCC sqlgrammar.jj file
where the SQL parser did not account for INT token; thus, not recognizing INT().  

Ran derbyall suite and no new regression is introduced by this patch.  Appreciate it if someone
can review this.  Thanks!

> INTEGER function cannot be abbreviated
> --------------------------------------
>                 Key: DERBY-1587
>                 URL: http://issues.apache.org/jira/browse/DERBY-1587
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions:
>            Reporter: Christian d'Heureuse
>         Assigned To: Yip Ng
>            Priority: Minor
>         Attachments: derby1587trunkdiff1.txt, derby1587trunkstat1.txt
> The reference manual (http://db.apache.org/derby/docs/10.1/ref/rrefbuiltinteger.html)
states that the INTEGER function can be abbreviated by INT, but Derby does not accept
> Example:
>   -> OK
>   VALUES INT(1.5);
>   -> ERROR 42X80: VALUES clause must contain at least one element.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message