Knut Anders Hatlen created DERBY-6578:
-----------------------------------------

             Summary: Assert failure when retrying failed ADD COLUMN statement
                 Key: DERBY-6578
                 URL: https://issues.apache.org/jira/browse/DERBY-6578
             Project: Derby
          Issue Type: Bug
          Components: SQL
    Affects Versions: 10.10.2.0
            Reporter: Knut Anders Hatlen


I see an assert failure when running this script:

{code:sql}
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;
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to