Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
Description
Currently, if the --defaults-group-suffix option is not set, then MariaDB checks if the $MYSQL_GROUP_SUFFIX environment variable is set. If it is set, then MariaDB uses that value as the option group suffix:
https://github.com/MariaDB/server/blob/mariadb-10.4.11/mysys/my_default.c#L237
To further MariaDB's branding, I think MariaDB should similarly be able to use $MARIADB_GROUP_SUFFIX to determine the option group suffix, if the environment variable is set.
Attachments
Issue Links
- relates to
-
CONC-449 Check $MARIADB_HOME/my.cnf in addition to $MYSQL_HOME/my.cnf
-
- Closed
-
-
MDEV-21365 Check $MARIADB_HOME/my.cnf in addition to $MYSQL_HOME/my.cnf
-
- Closed
-
Will something like this work? Concatenating the option group suffix from both $MYSQL_GROUP_SUFFIX and $MARIADB_GROUP_SUFFIX if both exists. Then will raise a PR for this one.
}
+ {
+
+ {
+ DBUG_RETURN(2);
+
+ my_defaults_group_suffix= combined_suffix;
+ }
+ {
+ my_defaults_group_suffix= mysql_group_suffix;
+ }
+ {
+ my_defaults_group_suffix= mariadb_group_suffix;
+ }
+ }