Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-399

Add option that corresponds to --defaults-extra-file MariaDB command-line option

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 3.0.8
    • 3.5
    • None
    • None

    Description

      When a non-NULL value is provided, the behavior of the MYSQL_READ_DEFAULT_FILE option roughly corresponds to the behavior of the --defaults-file MariaDB command-line option :

      https://github.com/MariaDB/mariadb-connector-c/blob/1285dc72a043f09d9a51abcfc3a4fbfb5192067e/include/mysql.h#L169

      Should MariaDB Connector/C also have an option that roughly corresponds to the behavior of the --defaults-extra-file MariaDB command-line option? This command-line option essentially adds an "extra" option file that is parsed after all others.

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

      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

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.