Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 90365 invoked from network); 25 May 2005 06:51:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 May 2005 06:51:05 -0000 Received: (qmail 48932 invoked by uid 500); 25 May 2005 06:51:01 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 48871 invoked by uid 500); 25 May 2005 06:51:01 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 48827 invoked by uid 99); 25 May 2005 06:51:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 24 May 2005 23:50:57 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 98FB5181 for ; Wed, 25 May 2005 08:50:54 +0200 (CEST) Message-ID: <1029398848.1117003854625.JavaMail.jira@ajax.apache.org> Date: Wed, 25 May 2005 08:50:54 +0200 (CEST) From: "Shreyas Kaushik (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Resolved: (DERBY-12) Quoted table names mishandled in select list expansion In-Reply-To: <630187231.1096483772196.JavaMail.apache@nagoya> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-12?page=all ] Shreyas Kaushik resolved DERBY-12: ---------------------------------- Resolution: Fixed This has been fixed as per the patch I submitted for Derby - 12 and Derby -13. All the test cases that the bug description says behave as expected. > Quoted table names mishandled in select list expansion > ------------------------------------------------------ > > Key: DERBY-12 > URL: http://issues.apache.org/jira/browse/DERBY-12 > Project: Derby > Type: Bug > Components: SQL > Versions: 10.0.2.0 > Reporter: Ramandeep Kaur > Priority: Minor > > Opening this bug on behalf of Satheesh Bandaram. > ------------------------------------------------------ > Select list expansion is incorrect when there is a quoted table > name with an embedded period. Consider the following SQL: > create table "S1.T1" (id int not null primary key, d1 int); > create schema s1; > create table s1.t1 (id int not null primary key, d2 int); > select s1.t1.* from "S1.T1"; > select "S1.T1".* from s1.t1; > The select statements should both throw errors, because s1.t1 > and "S1.T1" are different tables. However Derby does not > throw an error. However, the following SQL does throw an error, > as it should. > select "S1.T1".id from s1.t1; > select s1.t1.id from "S1.T1" -- 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