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

LP:965950 - left join lead to crash (in case of converting it to inner join)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not a Bug
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      This test suite crashes:

      create table t1 (a int, b int);
      insert into t1 values (1,1),(2,2);
      create table t2 (a int, b int);
      insert into t2 values (1,1),(2,2);

      select t1.b, t2.b from t1 left join t2 on (t2.a=t1.a) where t2.a > 5;

      drop table t1, t2;

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            sanja Oleksandr Byelkin added a comment -

            Re: left join lead to crash (in case of converting it to inner join)
            repeatable on 5.2

            Show
            sanja Oleksandr Byelkin added a comment - Re: left join lead to crash (in case of converting it to inner join) repeatable on 5.2
            Hide
            sanja Oleksandr Byelkin added a comment -

            Re: left join lead to crash (in case of converting it to inner join)
            It looks the tree I tested it on was broken.

            Show
            sanja Oleksandr Byelkin added a comment - Re: left join lead to crash (in case of converting it to inner join) It looks the tree I tested it on was broken.
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 965950

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

              People

              • Assignee:
                igor Igor Babaev
                Reporter:
                sanja Oleksandr Byelkin
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: