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

    XMLWordPrintable

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

            People

              bar Alexander Barkov
              lstartseva Lena Startseva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1h 25m
                  1h 25m

                  Git Integration

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