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

Print the real version in the error log

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2(EOL)
    • 10.2.2
    • OTHER
    • None
    • 10.2.0-6, 10.2.0-7, 10.2.2-2

    Description

      It's related to MDEV-7780 where @@version has become writable.

      I don't know if it's technically possible, but if it is, it would be extremely useful to additionally print the real version (one returned by mysqld --version without an argument) in the error log upon startup and, better still, also upon a crash. We are going to have major problem with users setting this variable, because they will set it in the config file, will never update it in a timely manner (naturally, because they can get upgrades automatically), and we won't know which real version they report their problem against, finding it out will require additional negotiations and won't always be successful.

      Attachments

        Issue Links

          Activity

            We should also fix the problem mentioned in the following commit by using real version:
            https://github.com/MariaDB/server/commit/70a4856df8c2af14e2d0a32b8d49bbd2bd2fc464

            svoj Sergey Vojtovich added a comment - We should also fix the problem mentioned in the following commit by using real version: https://github.com/MariaDB/server/commit/70a4856df8c2af14e2d0a32b8d49bbd2bd2fc464

            serg, please review fix for this bug.

            svoj Sergey Vojtovich added a comment - serg , please review fix for this bug.

            serg, this task was supposed to be in this current sprint. Not sure why it wasn't added.

            svoj Sergey Vojtovich added a comment - serg , this task was supposed to be in this current sprint. Not sure why it wasn't added.

            People

              svoj Sergey Vojtovich
              elenst Elena Stepanova
              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.