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 "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2014/05/16 14:32:15 UTC

[jira] [Created] (DERBY-6578) Assert failure when retrying failed ADD COLUMN statement

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)