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

Provide better error message if file-key-management-filename is not set

    XMLWordPrintable

Details

    Description

      Right now if file-key-management-filename is unset/empty (which is probably the default state if you naively try to install the plugin the first time) installing the file-key-management plugin fails with the unintuitive error message

      MariaDB [test]> install soname 'file_key_management';
      ERROR 29 (HY000): File '' not found (Errcode: 2 "No such file or directory")

      I'd suggest to check the filename variable for being empty before trying to pass it as a filename, and to issue a different error message if unset:

      MariaDB [(none)]> install soname 'file_key_management';
      ERROR 2 (HY000): file_key_management_filename unset or empty

      Attachments

        1. patch.txt
          0.5 kB
          Hartmut Holzgraefe

        Issue Links

          Activity

            People

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