[CONC-537] Only read from MYSQL_HOME if MARIADB_HOME is not set Created: 2021-03-22  Updated: 2021-06-14  Resolved: 2021-03-22

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: 3.2.0, 3.1.13

Type: Bug Priority: Major
Reporter: Ralf Gebhardt Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to CONC-449 Check $MARIADB_HOME/my.cnf in additio... Closed
relates to MDEV-21365 Check $MARIADB_HOME/my.cnf in additio... Closed

 Description   

After CONC-449 MariaDB Connector/C is loading files from the directory MYSQL_HOME and MARIADB_HOME.
This implementation should be changed to first check if MARIADB_HOME is set and if it is, use only this directory for loading configuration files. Only if MARIADB_HOME is not set, use the home directory as set by MYSQL_HOME.

This way we are still compatible with MySQL but can set the home directory for MariaDB also by MARIADB_HOME. This also allows to use different home directories if both MySQL and MariaDB Connectors are installed



 Comments   
Comment by Georg Richter [ 2021-03-22 ]

Fixed in rev. 5719e9e51d1ddc1f02f5bff241194529b45c2581

Generated at Thu Feb 08 03:06:01 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.