db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Brosius (JIRA)" <j...@apache.org>
Subject [jira] Created: (DERBY-4474) [patch] roleName isn't trimmed as expected
Date Mon, 14 Dec 2009 00:03:18 GMT
[patch] roleName isn't trimmed as expected
------------------------------------------

                 Key: DERBY-4474
                 URL: https://issues.apache.org/jira/browse/DERBY-4474
             Project: Derby
          Issue Type: Bug
          Components: JDBC
    Affects Versions: 10.5.3.0
            Reporter: Dave Brosius
            Priority: Trivial


(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