mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 15:15:34 +02:00
bug#52737 plugin_dir is set to /usr/local/mysql/lib/plugin while
starting via mysqld_safe Rather than hardcode the plugin directory, enhance mysql_config to fix plugin path when running a relocated install, and use it to provide the plugin directory to mysqld_safe.
This commit is contained in:
parent
c49335e8a7
commit
12fc3a9f38
2 changed files with 3 additions and 1 deletions
|
|
@ -88,6 +88,8 @@ pkglibdir_rel=`echo $pkglibdir | sed -e "s;^$basedir/;;"`
|
|||
fix_path pkglibdir $pkglibdir_rel lib/mysql lib
|
||||
|
||||
plugindir='@pkgplugindir@'
|
||||
plugindir_rel=`echo $plugindir | sed -e "s;^$basedir/;;"`
|
||||
fix_path plugindir $plugindir_rel lib/mysql/plugin lib/plugin
|
||||
|
||||
pkgincludedir='@pkgincludedir@'
|
||||
fix_path pkgincludedir include/mysql include
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue