Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 27040 invoked from network); 25 Aug 2006 18:39:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Aug 2006 18:39:38 -0000 Received: (qmail 50340 invoked by uid 500); 25 Aug 2006 18:39:38 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 50312 invoked by uid 500); 25 Aug 2006 18:39:38 -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 50301 invoked by uid 99); 25 Aug 2006 18:39:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Aug 2006 11:39:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UPPERCASE_25_50 X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Aug 2006 11:39:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3DDE07142A1 for ; Fri, 25 Aug 2006 18:36:26 +0000 (GMT) Message-ID: <11816400.1156530986251.JavaMail.jira@brutus> Date: Fri, 25 Aug 2006 11:36:26 -0700 (PDT) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1739) Index column names in CatalogRowFactory implementations are not required In-Reply-To: <24498963.1156191853936.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1739?page=comments#action_12430577 ] Rick Hillegas commented on DERBY-1739: -------------------------------------- Original submission DERBY-1739 (433491, 433487) merged to 10.2 branch at subversion revision 436898. > Index column names in CatalogRowFactory implementations are not required > ------------------------------------------------------------------------ > > Key: DERBY-1739 > URL: http://issues.apache.org/jira/browse/DERBY-1739 > Project: Derby > Issue Type: Sub-task > Components: SQL > Reporter: Daniel John Debrunner > Assigned To: Daniel John Debrunner > Priority: Minor > Fix For: 10.3.0.0 > > > The initInfo method of CatalogRowFactory takes a set of index column positions and index names. I was going to remove the passing of column names and instead get the names from the SystemColumn array returned by buildColumnList. > Prior to that I added some code to check the existing index names passed in matched the names in the SystemColumn array and found there were mismatches, e.g. > checking SYSCONGLOMERATES > MISMATCH SYSCONGLOMERATES > CONGLOMERATEID > CONGLOMERATE_ID > MISMATCH SYSCONGLOMERATES > CONGLOMERATENAME > CONGLOMERATE_NAME > checking SYSSCHEMAS > checking SYSCONSTRAINTS > checking SYSKEYS > checking SYSDEPENDS > checking SYSALIASES > checking SYSVIEWS > checking SYSCHECKS > checking SYSFOREIGNKEYS > checking SYSSTATEMENTS > MISMATCH SYSSTATEMENTS > STMTID > STATEMENTID > checking SYSFILES > checking SYSTRIGGERS > MISMATCH SYSTRIGGERS > TABLEID > CREATIONTIMESTAMP > Looking further to see why these mismatches did not cause problems or what hdden problems they might be causing I found they are stored in an IndexInfoImpl class but never used. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira