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

Increase the length of the RDBNAM field in the DRDA implementation

    XMLWordPrintableJSON

Details

    • Normal
    • High Value Fix, Newcomer, Patch Available

    Description

      Currently, whenever the client driver is used, there is a limit of 255 bytes for the database name. This is defined by the DRDA spec and there has been a discussion on the list [1]/[2] as to whether this limit should be raised due to the introduction of the new ACR that allows for UTF-8 characters.

      UTF-8 characters can take up to four bytes and this reduces the limit in characters dramatically.

      This should be an easy change as there is a codepoint that defines this limit.

      [1] did not work but [2] did
      [1] - http://old.nabble.com/Database-name-length-tt29691419.html
      [2]http://apache-database.10148.n7.nabble.com/Database-name-length-td33182.html

      Attachments

        1. d4805-test-ufs.diff
          5 kB
          Knut Anders Hatlen
        2. DERBY_4805_diff_patch1.txt
          19 kB
          Mamta A. Satoor
        3. DERBY4805_patch2_diff.txt
          22 kB
          Mamta A. Satoor
        4. DERBY4805_patch2_stat.txt
          0.9 kB
          Mamta A. Satoor
        5. DERBY4805_patch3_diff.txt
          23 kB
          Mamta A. Satoor
        6. DERBY4805_patch3_stat.txt
          0.9 kB
          Mamta A. Satoor
        7. DERBY4805_patch4_diff.txt
          29 kB
          Mamta A. Satoor
        8. DERBY4805_patch4_stat.txt
          4 kB
          Mamta A. Satoor

        Issue Links

          Activity

            People

              mamtas Mamta A. Satoor
              espinha Tiago R. Espinha
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: