Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4474

[patch] roleName isn't trimmed as expected

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 10.5.3.0
    • Fix Version/s: None
    • Component/s: JDBC
    • Labels:
      None

      Description

      (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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dbrosius David Brosius
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: