db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3969) NPE if you declare a constraint on a generated column and omit the datatype
Date Thu, 04 Dec 2008 01:43:44 GMT

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

Rick Hillegas commented on DERBY-3969:
--------------------------------------

Tests passed for me on derby-3969-01-aa-constraintsNoDatatype.diff except for diffs in stress
multi tests. Committed at subversion revision 723184.

> NPE if you declare a constraint on a generated column and omit the datatype
> ---------------------------------------------------------------------------
>
>                 Key: DERBY-3969
>                 URL: https://issues.apache.org/jira/browse/DERBY-3969
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.5.0.0
>            Reporter: Rick Hillegas
>            Assignee: Rick Hillegas
>         Attachments: derby-3969-01-aa-constraintsNoDatatype.diff
>
>
> The following script shows the problem for CHECK constraints. Other NPEs occur for PRIMARY,
FOREIGN KEY, and NOT NULL constraints.
> drop table t_ccnd_1;
> -- raises a null pointer exception
> create table t_ccnd_1( a int, b generated always as ( -a ) check ( b < 0 ) );

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


Mime
View raw message