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

ArrayIndexOutOfBoundsException when trying to override generated column

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.5.3.0, 10.6.1.0
    • 10.5.3.1, 10.6.1.0
    • SQL
    • None

    Description

      ij> create table t(a int, b generated always as (-a));
      0 rows inserted/updated/deleted
      ij> insert into t(b) values (default), (2);
      ERROR XJ001: Java exception: '0 >= 0: java.lang.ArrayIndexOutOfBoundsException'.

      Attachments

        1. forbid.diff
          1.0 kB
          Knut Anders Hatlen

        Issue Links

          Activity

            People

              dagw Dag H. Wanvik
              knutanders Knut Anders Hatlen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: