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

Client --help options break when configuration files contain unknown options

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.1(EOL), 10.2(EOL), 10.3(EOL), 10.4(EOL), 10.5
    • 10.5
    • Scripts & Clients
    • None

    Description

      If a configuration file contains unknown options, and if you run a client with the --help option, then it will fail. For example:

      $ sudo tee /etc/mysql/mariadb.conf.d/bad_option.cnf <<EOF
      [mysql]
      bad_option=1
      EOF
      $ mysql --help
      mysql: unknown variable 'bad_option=1'
      

      It seems like overkill to make --help fail in this scenario. I think --help should always succeed.

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.