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

LP:727183 - WL#90 does not trigger with non-comma joins

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      WL#90 optimizations only trigger for comma joins. They do not trigger for any other join type, and they do not trigger if ON or USING clause is used.

      Queries provided by spetrunia:

      (15:37:04) spetrunia: MariaDB [test]> explain select * from one_k_key X, ten Y where X.a in (select max(a) from ten);
      (15:37:06) spetrunia: this works
      (15:37:12) spetrunia: MariaDB [test]> explain select * from one_k_key X join ten Y on X.a < Y.a where X.a in (select max(a) from ten);
      (15:37:19) spetrunia: this doesn't

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            psergey Sergei Petrunia added a comment -

            Re: WL#90 does not trigger with non-comma joins
            This has been already fixed. I've now pushed a testcase to 5.3-main.

            Show
            psergey Sergei Petrunia added a comment - Re: WL#90 does not trigger with non-comma joins This has been already fixed. I've now pushed a testcase to 5.3-main.
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 727183

            Show
            ratzpo Rasmus Johansson added a comment - Launchpad bug id: 727183

              People

              • Assignee:
                psergey Sergei Petrunia
                Reporter:
                philipstoev Philip Stoev
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: