Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-19035

Make MariaDB Connector/C handle my.cnf parsing for clients

    Details

      Description

      Client tools like "mysql" use MariaDB Connector/C in 10.2 and above after MDEV-9293. However, the client tools still use the server code to parse my.cnf and other option/configuration files. See here:

      https://github.com/MariaDB/server/blob/c0ba036b774b8e35567dccce421890d2199f30ce/client/mysql.cc#L1176

      https://github.com/MariaDB/server/blob/c0ba036b774b8e35567dccce421890d2199f30ce/include/my_default.h#L50

      https://github.com/MariaDB/server/blob/c0ba036b774b8e35567dccce421890d2199f30ce/mysys/my_default.c#L464

      Do we want to make MariaDB Connector/C handle this job for clients at some point too?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                GeoffMontee Geoff Montee
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: