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

LP:992380 - Crash when creating PS for a query with subquery in WHERE

    Details

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

      Description

      The following sequence of commands causes a crash of the server in MariaDB 5.2:

      CREATE TABLE t1 (a INT);
      PREPARE s FROM "SELECT 1 FROM t1 WHERE 1 < ALL (SELECT @:= (1 IN (SELECT 1 FROM t1)) FROM t1)";

      (This is also bug#13012483 reported for mysql-5.1.)

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            sanja Oleksandr Byelkin added a comment -

            Re: Crash when creating PS for a query with subquery in WHERE
            It is not repeatable on 5.3

            Show
            sanja Oleksandr Byelkin added a comment - Re: Crash when creating PS for a query with subquery in WHERE It is not repeatable on 5.3
            Hide
            ratzpo Rasmus Johansson added a comment -

            Launchpad bug id: 992380

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: