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

Option prefixes not supported in my.cnf

    XMLWordPrintable

Details

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

    Description

      When the server reads options from my.cnf, it supports several option prefixes:

      • autoset - Sets the option value automatically. Only supported for certain options. Available in MariaDB 10.1.7 and later.
      • disable - For all boolean options, disables the setting (equivalent to setting it to 0). Same as --skip.
      • enable - For all boolean options, enables the setting (equivalent to setting it to 1).
      • loose - Don't produce an error if the option doesn't exist.
      • maximum - Sets the maximum value for the option.
      • skip - For all boolean options, disables the setting (equivalent to setting it to 0). Same as --disable.

      https://mariadb.com/kb/en/library/configuring-mariadb-with-option-files/#option-prefixes

      https://mariadb.com/kb/en/library/mysqld-options/#option-prefixes

      MariaDB Connector/C doesn't support these option prefixes yet. We can see that when it reads an option from my.cnf or other option/configuration files, it doesn't check for option prefixes:

      https://github.com/MariaDB/mariadb-connector-c/blob/2fdaf1d4474edcdbd6724851be3f8d7573f07ce1/libmariadb/mariadb_lib.c#L699

      Attachments

        Issue Links

          Activity

            People

              georg Georg Richter
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.