Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 86771 invoked from network); 4 Dec 2008 01:44:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2008 01:44:05 -0000 Received: (qmail 88368 invoked by uid 500); 4 Dec 2008 01:44:17 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 88166 invoked by uid 500); 4 Dec 2008 01:44:16 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 88155 invoked by uid 99); 4 Dec 2008 01:44:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 17:44:16 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Dec 2008 01:42:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4356A234C2A3 for ; Wed, 3 Dec 2008 17:43:44 -0800 (PST) Message-ID: <456683244.1228355024274.JavaMail.jira@brutus> Date: Wed, 3 Dec 2008 17:43:44 -0800 (PST) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3969) NPE if you declare a constraint on a generated column and omit the datatype In-Reply-To: <115576128.1228240126366.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.