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

Assert failure when retrying failed ADD COLUMN statement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.10.2.0
    • None
    • SQL
    • None

    Description

      I see an assert failure when running this script:

      connect 'jdbc:derby:memory:db;create=true';
      autocommit off;
      create table t(x int);
      insert into t values 1, 2;
      -- the next statement fails because of overflow (expected)
      alter table t add column y smallint generated always as (30000 * x);
      -- the next statement fails runs into an assert failure
      alter table t add column z int;
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              knutanders Knut Anders Hatlen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: