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

Introduce @@optimizer_fixes variable

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 11.4
    • 11.4.9
    • Optimizer
    • None
    • Not for Release Notes

    Description

      As discussed on Slack, we need to introduce @@optimizer_fixes variable.

      It should be a bitmap of fixes that were added to this version but could not be enabled by default due to plan stability/risk concerns.

      The difference from optimizer_switch is that optimizer_switch controls features. optimizer_switch features are expected to stay visible forever.

      Optimizer fixes are expected to disappear (become always enabled) in some subsequent release.

      We've already had a variable that is "a bitmap of fixes". It was optimizer_adjust_secondary_key_costs (poorly named after the first such fix).

      Attachments

        Issue Links

          Activity

            People

              Johnston Rex Johnston
              psergei Sergei Petrunia
              Votes:
              0 Vote for this issue
              Watchers:
              4 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.