[
https://issues.apache.org/jira/browse/DERBY-7037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16793666#comment-16793666
]
Piotr Zygielo commented on DERBY-7037:
--------------------------------------
{quote}Can you script a repro for this problem?
{quote}
Travis executions from issue description are for
[https://github.com/pzrep/derby_npex_trigger]. (Be careful as in
[reproduce.sh#L7|https://github.com/pzrep/derby_npex_trigger/blob/reorder/reproduce.sh#L7]
there isĀ {{rm -rf}} used).
> NPEx at InternalTriggerExecutionContext.updateAICounters
> --------------------------------------------------------
>
> Key: DERBY-7037
> URL: https://issues.apache.org/jira/browse/DERBY-7037
> Project: Derby
> Issue Type: Bug
> Affects Versions: 10.12.1.1, 10.13.1.1, 10.14.2.0, 10.15.1.3
> Environment: Linux, openjdk 8 & 9
> Reporter: Piotr Zygielo
> Priority: Major
>
> AFTER UPDATE trigger fails when the column of source table is autogenerated.
> Bisected issue to fat commit
> [a826375a|https://github.com/apache/derby/commit/a826375a5482ff797e90b93a83b12173964fd181]
> (DERBY-6414). After that change NPEx is observed and update statement is
> forcibly prevented with current connection being closed.
> Logs from example executions: [at
> Travis|https://travis-ci.org/pzrep/derby_npex_trigger/builds/505226771], with
> simple SQLs available on GitHub.
> Edit: as checked on [more complex
> case|https://travis-ci.org/pzrep/derby_npex_trigger/builds/505297229],
> reordering columns is not enough.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)