db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mayuresh Nirhali (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-331) create table fails when a constraint defintion follows a column default
Date Thu, 08 Jun 2006 12:27:31 GMT
     [ http://issues.apache.org/jira/browse/DERBY-331?page=all ]

Mayuresh Nirhali updated DERBY-331:

    Fix Version:

This bug is 10.1 branch porting candidate for 10.1.3 release.

I merged the changes (209842) into my fresh 10.1 branch child. The changes applied cleanly.
I rebuilt the workspace and ran the corresponding test, lang,columnDefaults.sql. The test
derbyall also did not show any relevant failures.

I think the already attached patch can be directly merg/committed to 10.1 branch.

> create table fails when a constraint defintion follows a column default
> -----------------------------------------------------------------------
>          Key: DERBY-331
>          URL: http://issues.apache.org/jira/browse/DERBY-331
>      Project: Derby
>         Type: Bug

>   Components: SQL
>     Versions:
>  Environment: Windows XP
>     Reporter: Gin Ng
>     Assignee: Dag H. Wanvik
>     Priority: Minor
>      Fix For:,
>  Attachments: 331b.diff, 331b.stat
> The following statement fails with syntax error.
> ij> create table t (a int not null, b int default 0, unique (a));
> ERROR 42X01: Syntax error: Encountered "0" at line 1, column 47.
> And it will work if I remove either default 0 or unique(a).

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message