db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DERBY-4475) [patch] roleName isn't trimmed as expected
Date Wed, 16 Dec 2009 18:00:20 GMT

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

Dag H. Wanvik resolved DERBY-4475.
----------------------------------

          Resolution: Not A Problem
    Issue & fix info:   (was: [Patch Available])

Regressions passed, committed as svn 891350. Thanks Dave.
If you have a developer id, you may want to assign  yourself to this issue.
I have marked it as resolved, pending your acceptance - if you agree that the issue has been
solved, please close the issue (or I can do it).


> [patch] roleName isn't trimmed as expected
> ------------------------------------------
>
>                 Key: DERBY-4475
>                 URL: https://issues.apache.org/jira/browse/DERBY-4475
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC
>    Affects Versions: 10.5.3.0
>            Reporter: Dave Brosius
>            Priority: Trivial
>         Attachments: derby-4475.diff, derby-4475.stat, trim.diff
>
>
> (from patch)
>  	public static String parseRoleId(String roleName) throws StandardException
>  	{
> -		roleName.trim();
> +		roleName = roleName.trim();
>  		// NONE is a special case and is not allowed with its special
>  		// meaning in SET ROLE <value specification>. Even if there is
>  		// a role with case normal form "NONE", we require it to be

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


Mime
View raw message