[MDEV-21818] MariaDB clients do not print default plugin-dir value when run with --help option Created: 2020-02-25 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System, Scripts & Clients |
| Affects Version/s: | 10.4.12 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Rob Schwyzer | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | MariaDB-client, plugin-dir, plugin_dir | ||
| Environment: |
CentOS Linux release 7.7.1908 (Core) |
||
| Description |
|
As per If a default value is set though, then mysql --help is outputting incorrect information as a path is set but (No default value) is being output. The use-case I investigated this for involved installing MariaDB-client on a Linux VM without installing MariaDB-server or anything else, simulating the experience of a client connecting to a remote MariaDB server. Here is some additional context on the RPMs I had installed-
|
| Comments |
| Comment by Geoff Montee (Inactive) [ 2020-02-25 ] | ||||||
|
The path to the plugin directory is determined by the MariaDB Connector/C library used by MariaDB's clients. We can see how it resolves the path here:
So it checks the following items in the following order:
This MARIADB_PLUGINDIR constant is defined here:
So maybe the clients included with the server should also print this same constant as the default value when the --help option is used. |