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 2010/01/05 16:28:54 UTC

[jira] Commented: (DERBY-4504) ASSERT FAILED allTableName (T) expected to be null

    [ https://issues.apache.org/jira/browse/DERBY-4504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796701#action_12796701 ] 

Knut Anders Hatlen commented on DERBY-4504:
-------------------------------------------

The statement is supposed to fail, but not with an assert failure. Non-debug builds handle this error correctly:

ij> select t.* from t join t on 1=1;
ERROR 42X03: Column name 'T.X' is in more than one table in the FROM list.

> ASSERT FAILED allTableName (T) expected to be null
> --------------------------------------------------
>
>                 Key: DERBY-4504
>                 URL: https://issues.apache.org/jira/browse/DERBY-4504
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.5.3.0, 10.6.0.0
>            Reporter: Knut Anders Hatlen
>
> I see this assert failure in debug builds:
> ij> create table t(x int);
> 0 rows inserted/updated/deleted
> ij> select t.* from t join t on 1=1;
> ERROR XJ001: Java exception: 'ASSERT FAILED allTableName (T) expected to be null: org.apache.derby.shared.common.sanity.AssertFailure'.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.