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

With collation TERRITORY_BASED, insert into table after changing type of column causes assert failure and loss of connection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 10.4.1.3
    • 10.3.1.4, 10.4.1.3
    • SQL
    • None

    Description

      ij(CONNECTION1)> create table d (id int not null, t_bigvarchar varchar(400), unique (id));
      0 rows inserted/updated/deleted
      ij(CONNECTION1)> create index t_bigvarchar_ind on d ( t_bigvarchar);
      0 rows inserted/updated/deleted
      ij(CONNECTION1)> alter table d alter t_bigvarchar set data type varchar(4096);
      0 rows inserted/updated/deleted
      ij(CONNECTION1)> insert into d (id, t_bigvarchar) values (1,'hello');
      ERROR XJ001: Java exception: 'ASSERT FAILED type of inserted column[0] = org.apache.derby.iapi.types.SQLVarchartype of t
      emplate column[0] = org.apache.derby.iapi.types.CollatorSQLVarchar: org.apache.derby.shared.common.sanity.AssertFailure'
      .
      ij(CONNECTION1)>

      Attachments

        Issue Links

          Activity

            People

              mamtas Mamta A. Satoor
              kmarsden Katherine Marsden
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: