[MDEV-8914] Provide better error message if file-key-management-filename is not set Created: 2015-10-07 Updated: 2015-10-12 Resolved: 2015-10-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Encryption, Plugins |
| Affects Version/s: | 10.1.7 |
| Fix Version/s: | 10.1.8 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Hartmut Holzgraefe | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| 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
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:
|
| Comments |
| Comment by Hartmut Holzgraefe [ 2015-10-07 ] | ||||||||||||||||||
|
Suggested fix:
|