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

          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

          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.