1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Specify a new client_plugindir path, to be used during testing

When testing installed packages, the client (mariadb or mysql) can have
plugins stored in a separate location compared to server. This change
ensures that the correct paths are used for the plugin-dir directive in
the my.cnf generated by mysql-test-run.

The directives in my.cnf will be replaced like so:

[client]
plugin-dir=$client_plugindir

[mysqld]
plugin-dir=$plugindir

where $<variable-name> corresponds to the variable name in mtr.
This commit is contained in:
Vicențiu Ciorbaru
2020-04-08 15:25:04 +03:00
parent 609a9312dc
commit 8447edb747
3 changed files with 16 additions and 6 deletions

View File

@ -216,6 +216,7 @@ my @mysqld_rules=
my @client_rules=
(
{ 'character-sets-dir' => \&fix_charset_dir },
{ 'plugin-dir' => sub { $::client_plugindir } },
);