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

Replace underscores with dashes in conf_key values in mariadb_defaults array

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.1
    • 3.1.1
    • None
    • None

    Description

      With the fix for CONC-395, the mariadb_set_conf_option function replaces underscores ('') with dashes ('-') in configuration options prior to comparing the value to the conf_key values in the mariadb_defaults array.:

      https://github.com/MariaDB/mariadb-connector-c/blob/a8bec1c68acf7a0d47c4c1755bbda829bf944120/libmariadb/mariadb_lib.c#L703

      This most likely means that the keys that have underscores in their definition need to be converted to dashes. It looks like these are:

      • tls_version

      https://github.com/MariaDB/mariadb-connector-c/blob/a8bec1c68acf7a0d47c4c1755bbda829bf944120/libmariadb/mariadb_lib.c#L648

      • server_public_key

      https://github.com/MariaDB/mariadb-connector-c/blob/a8bec1c68acf7a0d47c4c1755bbda829bf944120/libmariadb/mariadb_lib.c#L649

      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:
                Resolved:

                Git Integration

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