db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5168) Wrong syntax in identifier chain returned by SynonymAliasInfo.toString()
Date Thu, 31 Mar 2011 21:19:05 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Knut Anders Hatlen updated DERBY-5168:
--------------------------------------

    Issue & fix info: [Patch Available]

All the regression tests ran cleanly with the patch.

> Wrong syntax in identifier chain returned by SynonymAliasInfo.toString()
> ------------------------------------------------------------------------
>
>                 Key: DERBY-5168
>                 URL: https://issues.apache.org/jira/browse/DERBY-5168
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.7.1.1
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>         Attachments: derby-5168-1a.diff
>
>
> SynonymAliasInfo.toString() doesn't quote identifiers correctly. Example:
> ij> create table """"(x int);
> 0 rows inserted/updated/deleted
> ij> create synonym s1 for """";
> 0 rows inserted/updated/deleted
> ij> select aliasinfo from sys.sysaliases where alias = 'S1';
> ALIASINFO      
> ---------------
> "APP"."""      
> 1 row selected
> The returned value should say:
> "APP".""""
> That is, there should be one more double quote character.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message