[MDEV-13440] mysql_install_db fails with hard-coded langdir Created: 2017-08-03  Updated: 2017-12-18  Resolved: 2017-10-17

Status: Closed
Project: MariaDB Server
Component/s: Compiling, Configuration
Affects Version/s: 5.5, 10.0, 10.1, 10.2
Fix Version/s: 5.5.58, 10.0.33, 10.1.29, 10.2.10

Type: Bug Priority: Major
Reporter: Brian Evans Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: None
Environment:

Gentoo Linux


Attachments: Text File 20026_all_mariadb-add-pkgdatadir.patch.txt    
Issue Links:
Duplicate
is duplicated by MDEV-11616 Build time macro @INSTALL_MYSQLSHARED... Closed
Sprint: 5.5.58

 Description   

When the server is installs the share files to a non-default location like /usr/share/mariadb, the mysql_install_db scripts will fail to locate the language files and fill_help_tables.sql file when using the --basedir option.

How to repeat:
cmake -DINSTALL_MYSQLSHAREDIR=share/mariadb .

The attached patch will prioritize this setting but keep the old locations for compatibility sake.


Generated at Thu Feb 08 08:05:37 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.