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

LP:1001510 - Crash on a query whose where condition contains CASE expression

    XMLWordPrintable

Details

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

    Description

      The following simple test case causes a crash of the server in MariaDB 5.2/5.3/5.5:

      CREATE TABLE t1(a YEAR);
      SELECT 1 FROM t1 WHERE a=1 AND CASE 1 WHEN a THEN 1 ELSE 1 END;
      DROP TABLE t1;

      See also bug #57135 from bugs.mysql.com

      This bug is similar to LP bug #1001505.

      Attachments

        Activity

          People

            sanja Oleksandr Byelkin
            igor Igor Babaev
            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.