[CONC-404] Add option that corresponds to --defaults-group-suffix MariaDB command-line option Created: 2019-04-22  Updated: 2019-06-01

Status: Open
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: 3.0.8
Fix Version/s: None

Type: Task Priority: Major
Reporter: Geoff Montee (Inactive) Assignee: Georg Richter
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
Blocks
blocks MDEV-19035 Make MariaDB Connector/C handle my.cn... Open
Relates
relates to CONC-327 !include/!includedir not parsed in my... Closed
relates to CONC-395 Dashes and underscores are not interc... Closed
relates to CONC-396 !includedir in my.cnf does not includ... Open
relates to CONC-399 Add option that corresponds to --defa... Open
relates to CONC-402 Replace underscores with dashes in co... Closed
relates to CONC-415 Option prefixes not supported in my.cnf Open
relates to CONC-416 On Windows, C/C looks for first my.cn... Closed
relates to ODBC-229 Add parameters that correspond to MYS... Closed

 Description   

This is similar to CONC-399.

Should MariaDB Connector/C have an option that roughly corresponds to the behavior of the --defaults-group-suffix MariaDB command-line option? This command-line option adds a suffix to all option groups that are read.

https://mariadb.com/kb/en/library/configuring-mariadb-with-option-files/#custom-option-group-suffixes

It may be useful to have an option like this if we ever want MariaDB Connector/C to parse my.cnf and other option/configuration files for client tools. e.g. see MDEV-19035

It may also be a good idea for MariaDB Connector/C to support the MYSQL_GROUP_SUFFIX environment variable.


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