Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-5228

Incorrect message test on a failed attempt to revoke grants from a role

    XMLWordPrintable

Details

    Description

      The message incorrectly identifies the entity as a user, while it is a role:

      MariaDB [test]> create role foo;
      Query OK, 0 rows affected (0.01 sec)
       
      MariaDB [test]> revoke all on bar.* from foo;
      ERROR 1141 (42000): There is no such grant defined for user 'foo' on host ''

      Since other errors seem to be able to distinguish between a user and a role, it might make sense fix this one too.

      Attachments

        Issue Links

          Activity

            People

              cvicentiu Vicențiu Ciorbaru
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.