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

[patch] roleName isn't trimmed as expected

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.5.3.0
    • Fix Version/s: 10.5.3.2, 10.6.1.0
    • 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

        1. derby-4475.diff
          2 kB
          Dag H. Wanvik
        2. derby-4475.stat
          0.1 kB
          Dag H. Wanvik
        3. trim.diff
          0.6 kB
          Dave Brosius

          Issue Links

            Activity

              People

              • Assignee:
                dbrosius Dave Brosius
                Reporter:
                dbrosius Dave Brosius
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: