Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 86286 invoked from network); 24 Mar 2008 08:31:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Mar 2008 08:31:31 -0000 Received: (qmail 84286 invoked by uid 500); 24 Mar 2008 08:31:27 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 84258 invoked by uid 500); 24 Mar 2008 08:31:27 -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 84204 invoked by uid 99); 24 Mar 2008 08:31:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2008 01:31:27 -0700 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; Mon, 24 Mar 2008 08:30:46 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 57F4F234C0AC for ; Mon, 24 Mar 2008 01:29:24 -0700 (PDT) Message-ID: <1802447485.1206347364359.JavaMail.jira@brutus> Date: Mon, 24 Mar 2008 01:29:24 -0700 (PDT) From: "Anurag Shekhar (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-3502) Unique Constraint's backing index when shared with existing indexes doesn't behave as expected In-Reply-To: <1874243320.1204812538666.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-3502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anurag Shekhar closed DERBY-3502. --------------------------------- > Unique Constraint's backing index when shared with existing indexes doesn't behave as expected > ---------------------------------------------------------------------------------------------- > > Key: DERBY-3502 > URL: https://issues.apache.org/jira/browse/DERBY-3502 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.4.0.0 > Reporter: Anurag Shekhar > Assignee: Anurag Shekhar > Priority: Critical > Fix For: 10.4.0.0 > > Attachments: d3502v3_modified_1.diff, derby-3502v1.diff, derby-3502v2.diff, derby-3502v3.diff > > > Unique Constraint now uses non unique backing indexes with new attribute UniqueWithDuplicateNulls. This index has following sharing properties > 1. Can use an existing unique index. > 2. Non Unique indexes (and foreign key) can use this index. > While dropping a unique index a new index for unique constraint should be created. > when a unique constraint is dropped a new index for a non unique index or foreign key should be created. > Army has found several issues in actual behavior. This problems are listed in DERBY-3456. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.