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 "Kathey Marsden (JIRA)" <ji...@apache.org> on 2011/02/05 00:35:30 UTC

[jira] Resolved: (DERBY-4475) [patch] roleName isn't trimmed as expected

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

Kathey Marsden resolved DERBY-4475.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 10.5.3.2
         Assignee: Dave Brosius  (was: Kathey Marsden)

Resolving after backport to 10.5. Assigning to Dave Brosius  who submitted the patch. Thanks Dave!


> [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
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 10.5.3.2, 10.6.1.0
>
>         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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira