Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2902

AS IDENTITY (START WITH -9223372036854775808) fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6, 10.2.2.0, 10.3.1.4
    • 10.3.2.1, 10.4.1.3
    • SQL
    • None
    • MacTel 10.4.10 JVM 1.6.0-dp

    Description

      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.

      Attachments

        1. parseLong_with_comment.diff
          4 kB
          Bryan Pendleton
        2. parseLong.diff
          3 kB
          Bryan Pendleton

        Activity

          People

            bryanpendleton Bryan Pendleton
            northshorefiend James Alan Shepherd
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: