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

View created as "select b''; " references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them

Details

    Description

      Test:

      CREATE VIEW v1 as select b'';
      SELECT * FROM v1;
      DROP VIEW v1;
      

      Actual value:

      At line 3: query 'SELECT * FROM v1' failed: 1356: View 'test.v1' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
      

      Expected value:

      b''
      
      

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Alexander Barkov made transition -
            Open In Progress
            185d 4h 41m 1
            Alexander Barkov made transition -
            In Progress In Review
            1m 14s 1
            Oleksandr Byelkin made transition -
            In Review Stalled
            34m 12s 1
            Alexander Barkov made transition -
            Stalled Closed
            19h 48m 1

            People

              bar Alexander Barkov
              lstartseva Lena Startseva
              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.