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

SELECT command denied for user when selecting from CTE

    XMLWordPrintable

Details

    Description

      Executing the following simple CTE query:

      with d as
      (select associated_id from ROLE_ASSOC where parent_id='111111111-0744-11e8-96d3-f405541eda2e')
      select * from d;

      gives the following error:

      SQL Error (1142): SELECT command denied user '<user_name>' for table 'd'

      Per MDEV-13453 the fix for this bug was pushed into the 10.2 tree, however I am still seeing the issue in 10.2.9.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dariasbrown Darias G Brown
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.