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

Optimizer Context should have server version number

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 13.1.1
    • Optimizer
    • None
    • Notable changes
    • Q3/2026 Server Maintenance

    Description

      mysqldump output has this on the first lines:

      -- Server version       13.1.0-MariaDB-debug-log
      

      Let the Optimizer Context also include an SQL comment

      -- Version:
      -- Version_source_revision:
      

      with the values of version() and @@version_source_revision .

      Attachments

        Activity

          People

            bsrikanth Srikanth Bondalapati
            psergei Sergei Petrunia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1d
                1d
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 7h Time Not Required
                7h

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.