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

Possible Range plan is not used with nested outer joins.

    XMLWordPrintable

Details

    • Bug
    • Status: Stalled (View Workflow)
    • Major
    • Resolution: Unresolved
    • 10.4.12
    • 10.4(EOL)
    • Optimizer
    • None

    Description

      MDEV-21383 fixed the issue with possible range plans not being used for inner joins.

      Now, I am observing a similar issue for nested outer joins.

      (I can't attach a testcase, because I don't have it atm. I have customer table DDLs and optimizer_trace. I've made a patch which fakes the optimizer stats and records_in_range() return values, and then I can see a bad query plan to be generated).

      Checking my testcase against other server versions:

      Attachments

        Issue Links

          Activity

            People

              psergei Sergei Petrunia
              psergei Sergei Petrunia
              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.