You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Bryan Pendleton (JIRA)" <ji...@apache.org> on 2007/07/08 16:34:04 UTC

[jira] Updated: (DERBY-2902) AS IDENTITY (START WITH -9223372036854775808) fails

     [ https://issues.apache.org/jira/browse/DERBY-2902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Pendleton updated DERBY-2902:
-----------------------------------

    Attachment: parseLong.diff

Attached is parseLong.diff,  a patch proposal. It includes the code 
change that I proposed in the previous comment on this issue, and 
a simple set of test cases to be included in autoincrement.sql.

derbyall and suites.All passed. If there are any review comments,
please let me know.


> AS IDENTITY (START WITH -9223372036854775808) fails
> ---------------------------------------------------
>
>                 Key: DERBY-2902
>                 URL: https://issues.apache.org/jira/browse/DERBY-2902
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.2.2.0
>         Environment: MacTel 10.4.10 JVM 1.6.0-dp
>            Reporter: James Alan Shepherd
>            Assignee: Bryan Pendleton
>            Priority: Minor
>         Attachments: parseLong.diff
>
>
> When creating a table
> AS IDENTITY (START WITH -9223372036854775808)
> fails but
> AS IDENTITY (START WITH -9223372036854775807)
> succeeds.
> Guess this is a parsing SQL problem as the absolute value appears to be held in a long, which is not quite long enough at the positive end.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.