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

ER_TABLEACCESS_DENIED_ERROR is missing information about DB

Details

    Description

      connect  con1,localhost,foo,,db1;
      show grants;
      Grants for foo@localhost
      GRANT USAGE ON *.* TO `foo`@`localhost`
      GRANT CREATE ON `db1`.* TO `foo`@`localhost`
      GRANT CREATE ON `db2`.* TO `foo`@`localhost`
      create table t(t int);
      show columns in t;
      ERROR 42000: SELECT command denied to user 'foo'@'localhost' for table 't'
      

      • Database should be shown too:

        ERROR 42000: SELECT command denied to user 'foo'@'localhost' for table 'db1.t'
        

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Anel Husakovic made transition -
            Open In Progress
            2h 52m 1
            Anel Husakovic made transition -
            In Progress Stalled
            11s 1
            Anel Husakovic made transition -
            Stalled In Progress
            34d 8h 34m 2
            Anel Husakovic made transition -
            In Progress In Review
            12d 21h 33m 2
            Vicențiu Ciorbaru made transition -
            In Review Stalled
            20d 10h 8m 2
            Anel Husakovic made transition -
            Stalled In Review
            20d 23h 39m 1
            Anel Husakovic made transition -
            In Review Closed
            51d 23h 55m 1

            People

              anel Anel Husakovic
              anel Anel Husakovic
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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