Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 3568 invoked from network); 14 Dec 2009 00:03:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Dec 2009 00:03:41 -0000 Received: (qmail 64117 invoked by uid 500); 14 Dec 2009 00:03:41 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 64018 invoked by uid 500); 14 Dec 2009 00:03:41 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 63944 invoked by uid 99); 14 Dec 2009 00:03:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2009 00:03:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2009 00:03:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 520C1234C045 for ; Sun, 13 Dec 2009 16:03:18 -0800 (PST) Message-ID: <294937874.1260748998321.JavaMail.jira@brutus> Date: Mon, 14 Dec 2009 00:03:18 +0000 (UTC) From: "Dave Brosius (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Created: (DERBY-4474) [patch] roleName isn't trimmed as expected MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [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 . 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.