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

Write warning in error log if option is set in configuration files multiple times

    XMLWordPrintable

Details

    Description

      When a user's configuration file has an !includedir directive and the user has accidentally set an option multiple times in multiple files, a lot of the time the user doesn't even notice until things aren't working as they expect them to. This is more often true for users who use our enterprise packages, since mariadb-enterprise.cnf sets a bunch of common options.

      If an option is set multiple times in configuration files, it would be great if some kind of warning similar to the following could be printed to the error log:

      [Warning] Option 'binlog_format' set multiple times in configuration files. Using the last value read from file 'z.cnf'. Using value 'MIXED'.
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            GeoffMontee Geoff Montee (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            5 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.