Derby
  1. Derby
  2. DERBY-4475

[patch] roleName isn't trimmed as expected

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial 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
      1. trim.diff
        0.6 kB
        Dave Brosius
      2. derby-4475.diff
        2 kB
        Dag H. Wanvik
      3. derby-4475.stat
        0.1 kB
        Dag H. Wanvik

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development