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

[patch] roleName isn't trimmed as expected

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 10.5.3.0
    • 10.5.3.2, 10.6.1.0
    • JDBC
    • 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
          David Brosius

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            dbrosius David Brosius
            dbrosius David Brosius
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment