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 "Myrna van Lunteren (JIRA)" <ji...@apache.org> on 2014/10/08 20:47:34 UTC

[jira] [Reopened] (DERBY-6691) ROW_NUMBER should not be allowed as argument in a procedure call

     [ https://issues.apache.org/jira/browse/DERBY-6691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren reopened DERBY-6691:
---------------------------------------
      Assignee: Myrna van Lunteren  (was: Dag H. Wanvik)

reopening for backport to 10.10.

There is a small chance of incompatibility where some app is relying on the error message - but I think the chance is small - I can only imagine this for applications that generate procedures, and then only if someone actually used the returned error code rather than a negative result from the statement.

> ROW_NUMBER should not be allowed as argument in a procedure call
> ----------------------------------------------------------------
>
>                 Key: DERBY-6691
>                 URL: https://issues.apache.org/jira/browse/DERBY-6691
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.10.2.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Myrna van Lunteren
>             Fix For: 10.11.1.1, 10.12.0.0
>
>         Attachments: derby-6691.diff
>
>
> Fails with assert/NPE instead of proper error:
> {noformat}
> ij> call syscs_util.syscs_compress_table('APP', 'T', row_number() over ());
> ERROR XJ001: Java exception: 'ASSERT FAILED cannot get interface without operand: org.apache.derby.shared.common.sanity.AssertFailure'.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)