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

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    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.)

      Attachments

        Activity

          igor Igor Babaev (Inactive) created issue -

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

          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

          Launchpad bug id: 992380

          ratzpo Rasmus Johansson (Inactive) added a comment - Launchpad bug id: 992380
          ratzpo Rasmus Johansson (Inactive) made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Labels Launchpad
          ratzpo Rasmus Johansson (Inactive) made changes -
          Fix Version/s Maria 5.2 [ 11301 ]
          Labels Launchpad Launchpad MariaDB_5.2
          ratzpo Rasmus Johansson (Inactive) made changes -
          Resolution Fixed [ 1 ]
          Status Reopened [ 4 ] Closed [ 6 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Key IMT-7738 MDEV-2105
          Project ImportTest [ 10200 ] MariaDB Development [ 10000 ]
          Workflow jira [ 21387 ] defaullt [ 22949 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Key IMT-7738 MDEV-3240
          Project ImportTest [ 10200 ] MariaDB Development [ 10000 ]
          Workflow jira [ 21387 ] defaullt [ 24084 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Key IMT-7738 MDEV-3716
          Project ImportTest [ 10200 ] MariaDB Development [ 10000 ]
          Workflow jira [ 21387 ] defaullt [ 24560 ]
          serg Sergei Golubchik made changes -
          Workflow defaullt [ 24560 ] MariaDB v2 [ 44904 ]
          serg Sergei Golubchik made changes -
          Labels Launchpad MariaDB_5.2 Launchpad
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 44904 ] MariaDB v3 [ 64953 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 64953 ] MariaDB v4 [ 146126 ]

          People

            sanja Oleksandr Byelkin
            igor Igor Babaev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 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.