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

ER_TABLEACCESS_DENIED_ERROR error message is truncated, and inaccurately

    XMLWordPrintable

Details

    Description

      create user foo;
      create database db;
      create table db.t (a int);
       
      --connect (con1,localhost,foo,,)
      grant all on db.t to foo;
      

      10.5 6cee9b195

      MariaDB [test]> grant all on db.t to foo;
      ERROR 1142 (42000): SELECT, INSERT, UPDATE, DELETE,  command denied to user 'foo'@'localhost' for table 't'
      

      Note that the list of privilege is truncated.

      Reproducible on all of 5.5-10.5.
      Fixed in MySQL 5.6+.

      Attachments

        Activity

          People

            rucha174 Rucha Deodhar
            elenst Elena Stepanova
            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.