Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 23151 invoked from network); 17 Aug 2009 11:04:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Aug 2009 11:04:30 -0000 Received: (qmail 82269 invoked by uid 500); 17 Aug 2009 11:04:36 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 82237 invoked by uid 500); 17 Aug 2009 11:04:36 -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 82229 invoked by uid 99); 17 Aug 2009 11:04:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Aug 2009 11:04:36 +0000 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, 17 Aug 2009 11:04:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CC21D234C044 for ; Mon, 17 Aug 2009 04:04:14 -0700 (PDT) Message-ID: <983996960.1250507054821.JavaMail.jira@brutus> Date: Mon, 17 Aug 2009 04:04:14 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2651) Embedded and client behave differently for IJ command "show indexes" In-Reply-To: <1700673.1179221476158.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2651?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen updated DERBY-2651: -------------------------------------- Issue & fix info: [Repro attached] Urgency: Normal Bug behavior facts: [Embedded/Client difference] > Embedded and client behave differently for IJ command "show indexes" > -------------------------------------------------------------------- > > Key: DERBY-2651 > URL: https://issues.apache.org/jira/browse/DERBY-2651 > Project: Derby > Issue Type: Bug > Components: JDBC, Network Client > Affects Versions: 10.2.2.0, 10.3.1.4 > Reporter: J=C3=B8rgen L=C3=B8land > Priority: Minor > > The column "NON_UNIQUE" is not the same when IJ command "show indexes" is= run in embedded and client mode. In embedded, "NON_UNIQUE" has the values = true/false, while client has 1/0. > Embed: > ----8<-----=20 > ij> connect 'jdbc:derby:testdb;create=3Dtrue'; > ij> SET SCHEMA APP; > ij> CREATE TABLE t1 (i int primary key, i2 int); > ij> CREATE INDEX idx1 ON APP.t1 (i2); > ij> SHOW INDEXES IN APP; > TABLE_NAME |COLUMN_NAME |NON_U&|TYPE|ASC&|CARDINA&|PAGES > -------------------------------------------------------------------------= --- > T1 |I |false |3 |A |NULL |NULL > T1 |I2 |true |3 |A |NULL |NULL > Client: > ----8<-----=20 > ij> connect 'jdbc:derby://localhost/testdb;create=3Dtrue'; > ij> SHOW INDEXES IN APP; > TABLE_NAME |COLUMN_NAME |NON_U&|TYPE|ASC&|CARDINA&|PAGES > -------------------------------------------------------------------------= --- > T1 |I |0 |3 |A |NULL |NULL > T1 |I2 |1 |3 |A |NULL |NULL --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.