You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2010/07/08 21:24:49 UTC

[jira] Resolved: (DERBY-4052) SQLChar.copyState() doesn't copy localeFinder

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

Knut Anders Hatlen resolved DERBY-4052.
---------------------------------------

    Issue & fix info: [Known fix, Newcomer]  (was: [Known fix, Newcomer, Patch Available])
       Fix Version/s: 10.7.0.0
          Resolution: Fixed

All the regression tests ran cleanly in my environment.
Committed revision 961892.

> SQLChar.copyState() doesn't copy localeFinder
> ---------------------------------------------
>
>                 Key: DERBY-4052
>                 URL: https://issues.apache.org/jira/browse/DERBY-4052
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 10.5.1.1
>            Reporter: Knut Anders Hatlen
>            Assignee: Yun Lee
>            Priority: Minor
>             Fix For: 10.7.0.0
>
>         Attachments: derby-4052.patch, derby-4052.stat
>
>
> The last line of SQLChar.copyState() looks incorrect.
>         this.localeFinder = localeFinder;
> This line doesn't do anything, since the left side and the right side of the assignment are identical.
> It might be intentional, but in that case there should be a comment explaining why. Looking at the rest of the method, it looks like the intention is that the right side of the assignment should be other.localeFinder.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.