Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5168

Wrong syntax in identifier chain returned by SynonymAliasInfo.toString()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.7.1.1
    • 10.8.1.2
    • SQL
    • None

    Description

      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.

      Attachments

        1. derby-5168-1a.diff
          3 kB
          Knut Anders Hatlen

        Activity

          People

            knutanders Knut Anders Hatlen
            knutanders Knut Anders Hatlen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: