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-4805) Increase the length of the RDBNAM field in the DRDA implementation
Date Mon, 10 Feb 2014 15:08:21 GMT

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

Knut Anders Hatlen updated DERBY-4805:
--------------------------------------

    Attachment: d4805-test-ufs.diff

The attached patch, d4805-test-ufs.diff, makes the in-memory URLs in the test use absolute
path names. That way, they won't be made longer after java.io.File.getCanonicalPath() has
been called on them.

The test now passes in a Solaris environment where it previously failed. I've also tested
on a Linux box and a Windows box that it still passes in those environments.

> Increase the length of the RDBNAM field in the DRDA implementation
> ------------------------------------------------------------------
>
>                 Key: DERBY-4805
>                 URL: https://issues.apache.org/jira/browse/DERBY-4805
>             Project: Derby
>          Issue Type: Improvement
>          Components: Network Client, Network Server
>    Affects Versions: 10.7.1.1
>            Reporter: Tiago R. Espinha
>            Assignee: Mamta A. Satoor
>              Labels: backport_reject_10_10, derby_triage10_9
>             Fix For: 10.11.0.0
>
>         Attachments: DERBY4805_patch2_diff.txt, DERBY4805_patch2_stat.txt, DERBY4805_patch3_diff.txt,
DERBY4805_patch3_stat.txt, DERBY4805_patch4_diff.txt, DERBY4805_patch4_stat.txt, DERBY_4805_diff_patch1.txt,
d4805-test-ufs.diff
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message