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

mysqld --version prints unrelated messages

    XMLWordPrintable

Details

    Description

      These are way too verbose.

      $ 10.2.5/bin/mysqld --version
      2017-04-27  7:52:03 140501412242944 [Warning] option 'server_id': unsigned value 0 adjusted to 1
      10.2.5/bin/mysqld  Ver 10.2.5-MariaDB-log for Linux on x86_64 (MariaDB Server)
      2017-04-27  7:52:03 140501412242944 [Note] options --log-slow-admin-statements, --log-queries-not-using-indexes and --log-slow-slave-statements have no effect if --log-slow-queries is not set
      

      This is rather cosmetic issue but may also lead to problems in setups which rely on parsing of --version output
      10.1 and 5.7.18 doesn't show this problem in identical configuration

      $ 10.1.22/bin/mysqld --version
      10.1.22/bin/mysqld  Ver 10.1.22-MariaDB for Linux on x86_64 (MariaDB Server)
      $ 5.7.18/bin/mysqld --version
      5.7.18/bin/mysqld  Ver 5.7.18 for linux-glibc2.5 on x86_64 (MySQL Community Server (GPL))
      

      Attachments

        Issue Links

          Activity

            People

              wlad Vladislav Vaintroub
              anikitin Andrii Nikitin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.