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] [Created] (DERBY-5168) Wrong syntax in identifier chain returned by SynonymAliasInfo.toString()
Date Thu, 31 Mar 2011 15:24:05 GMT
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


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