You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Jack Klebanoff (JIRA)" <de...@db.apache.org> on 2005/04/29 02:55:05 UTC

[jira] Assigned: (DERBY-12) Quoted table names mishandled in select list expansion

     [ http://issues.apache.org/jira/browse/DERBY-12?page=all ]

Jack Klebanoff reassigned DERBY-12:
-----------------------------------

    Assign To: Jack Klebanoff

> 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
>     Assignee: Jack Klebanoff
>     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


Re: [jira] Assigned: (DERBY-12) Quoted table names mishandled in select list expansion

Posted by Jack Klebanoff <kl...@sbcglobal.net>.
My mistake. It still has a status of "Open" in Jira. I will remove 
myself as owner. Whoever applied the patch should mark the bug as fixed.

Jack Klebanoff
Shreyas Kaushik wrote:

> I thought this also was patched?
>
> ~ Shreyas
>
> Jack Klebanoff (JIRA) wrote:
>


Re: [jira] Assigned: (DERBY-12) Quoted table names mishandled in select list expansion

Posted by Shreyas Kaushik <Sh...@Sun.COM>.
I thought this also was patched?

~ Shreyas

Jack Klebanoff (JIRA) wrote:

>     [ http://issues.apache.org/jira/browse/DERBY-12?page=all ]
>
>Jack Klebanoff reassigned DERBY-12:
>-----------------------------------
>
>    Assign To: Jack Klebanoff
>
>  
>
>>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
>>    Assignee: Jack Klebanoff
>>    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"
>>    
>>
>
>  
>