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

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.1.1
    • Component/s: None
    • Labels:
      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

              Assignee:
              georg Georg Richter
              Reporter:
              GeoffMontee Geoff Montee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration