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

FILE privilege isn't checked for derived

    XMLWordPrintable

Details

    • Can result in unexpected behaviour

    Description

      Test

      --error ER_ACCESS_DENIED_ERROR
      evalp select * into outfile '$MYSQLTEST_VARDIR/tmp/3701920.out' from (select 'hello') t;
      

      fails with

      mysqltest: At line 178: query 'select * into outfile '$MYSQLTEST_VARDIR/tmp/3701920.out' from (select 'hello') t' succeeded - should have failed with error ER_ACCESS_DENIED_ERROR (1045)...
      

      Reported by Tomer Fichman

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              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.